Comment 12 for bug 675014

Revision history for this message
Martin von Gagern (gagern) wrote :

You might also want to adjust trac-bzr to include os.environ['LANG'] along with the FSEncoding in the system info. You might also want to include locale.nl_langinfo(locale.CODESET). Theoretically the charset information should go from environment to nl_langinfo to FSEncoding. If it isn't in the environment, mod_wsgi config should help. If it is there but not in nl_langinfo, a call to setlocale might help, but I fear that would have to be during python startup, so you might have to patch mod_wsgi. If it is in nl_langinfo but not in FSEncoding, then the call to setlocale might be present somewhere but might happen too late.