[Python-Dev] Inconsistencies if locale and filesystem encodings are different (original) (raw)

Victor Stinner victor.stinner at haypocalc.com
Thu Oct 7 21:12:13 CEST 2010


Le jeudi 07 octobre 2010 18:44:19, Oleg Broytman a écrit :

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, but sometimes I work with programs in utf-8 locale. Just an example...

Are programs able to display correctly non-ascii filenames if your locale encoding is different than your filesystem encoding?

-- Victor Stinner http://www.haypocalc.com/



More information about the Python-Dev mailing list