Message96095
I guess this is still not answered.
Documentation (http://docs.python.org/library/sys.html) clearly states:
"On Unix, the encoding is the user’s preference according to the result
of nl_langinfo(CODESET), or None if the nl_langinfo(CODESET) failed."
So in case setlocale is not yet called the actual output should look
like this (according to documentation):
>>> import sys
>>> print sys.getfilesystemencoding()
None
According to the documentation if nl_langinfo(CODESET) returns
something, then sys.getfilesystemencoding() should return the very same
thing. Apparently this is not the case in the provided code. I also get
different output on my machine.
Or am I missing something? |
|
Date |
User |
Action |
Args |
2009-12-08 00:26:23 | naktinis | set | recipients:
+ naktinis, georg.brandl, fwiemann |
2009-12-08 00:26:23 | naktinis | set | messageid: <1260231983.26.0.869443971414.issue1495089@psf.upfronthosting.co.za> |
2009-12-08 00:26:22 | naktinis | link | issue1495089 messages |
2009-12-08 00:26:22 | naktinis | create | |
|