[Python-Dev] Inconsistencies if locale and filesystem encodings are different

2010-10-07 Thread Victor Stinner
Hi, A PYTHONFSENCODING environment variable was added to Python 3.2: issue #8622. This variable introduces an inconstency because the filesystem and the locale encodings can now be different. There are (at least) four issues related to this problem. We have 2 choices to fix these issues:

Re: [Python-Dev] Inconsistencies if locale and filesystem encodings are different

2010-10-07 Thread M.-A. Lemburg
Victor Stinner wrote: Hi, A PYTHONFSENCODING environment variable was added to Python 3.2: issue #8622. This variable introduces an inconstency because the filesystem and the locale encodings can now be different. There are (at least) four issues related to this problem. We have 2

Re: [Python-Dev] Inconsistencies if locale and filesystem encodings are different

2010-10-07 Thread Oleg Broytman
On Thu, Oct 07, 2010 at 06:35:09PM +0200, M.-A. Lemburg wrote: It is well possible that the two are different. Mac OS X is just one example. Another common example is having a Unix account using the C locale (=ASCII) while working on a UTF-8 file system. My filesystems are always koi8-r,

Re: [Python-Dev] Inconsistencies if locale and filesystem?encodings are different

2010-10-07 Thread Oleg Broytman
On Thu, Oct 07, 2010 at 09:12:13PM +0200, Victor Stinner wrote: Le jeudi 07 octobre 2010 18:44:19, Oleg Broytman a ?crit : My filesystems are always koi8-r, but sometimes I work with programs in utf-8 locale. Just an example... Are programs able to display correctly non-ascii filenames