0.12.5dev: added `trac.util.text.getpreferredencoding` and replaced `locale.getpreferredencoding` (closes #10768)
The new function returns the cached result of `locale.getpreferredencoding()` which is not thread-safe.
Authored by: jomae 2012-10-31
Parent: [r11437]
Child: [r11439]