Message204853
sys.getfilesystemencoding() says for Unix: On Unix, the encoding is the user’s preference according to the result of nl_langinfo(CODESET), or 'utf-8' if nl_langinfo(CODESET) failed.
In my opinion relying on the locale environment is risky since filesystem-encoding != locale. This is especially the case if working on a filesystem from an external media like an external hard disk drive. Operating on multiple media can also result in different filesystem-encodings.
It would be useful if the user can make his own checks and change the default filesystem-encoding if needed. |
|
| Date |
User |
Action |
Args |
| 2013-11-30 22:29:52 | deleted250130 | set | recipients:
+ deleted250130 |
| 2013-11-30 22:29:52 | deleted250130 | set | messageid: <[email protected]> |
| 2013-11-30 22:29:52 | deleted250130 | link | issue19847 messages |
| 2013-11-30 22:29:52 | deleted250130 | create | |
|