Ticket #2912: encoding-fix.patch
| File encoding-fix.patch, 449 bytes (added by Andres Salomon <dilinger@…>, 3 years ago) |
|---|
-
trac/scripts/admin.py
=== modified file 'trac/scripts/admin.py'
172 172 return [a for a in words if a.startswith (text)] 173 173 174 174 def print_listing(self, headers, data, sep=' ', decor=True): 175 (cons_locale, cons_charset) = locale.getdefaultlocale()175 cons_charset = locale.getpreferredencoding() 176 176 ldata = list(data) 177 177 if decor: 178 178 ldata.insert(0, headers)
