Martin v. Löwis <mar...@v.loewis.de> added the comment: > The most likely values to be non-ASCII are, therefore, file paths. So it > would make sense to also use the filesystem encoding for environment > variables (so as to satisfy the common case).
-1. Environment variables are typically set in a text editor or on the command line, so they will typically have the locale's encoding. Applications that wish to support the case that fsencoding != locale can recode the file names if desired, or use environb in the first place. If the mere existence of the fsname encoding leads to that much confusion, I think I also support its removal. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9992> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com