unicode filenames

Erik Max Francis max at alcyone.com
Sun Feb 16 16:46:51 EST 2003


Piet van Oostrum wrote:

> On Mac OS X, it is a bit more complicated. First cat will indeed show
> the
> unicode (utf-8) contents of a file, but ls won't display filenames
> with
> non-ASCII characters right. At least not in 10.1.5. Maybe 10.2 does it
> better.
> Like if my filename is "â,¬200", ls will display "???200".

This is ls-specific behavior, and has nothing to do with what the
filename actually is.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ If a thing is worth doing, then it is worth doing badly.
\__/ G.K. Chesterton
    Church / http://www.alcyone.com/pyos/church/
 A lambda calculus explorer in Python.




More information about the Python-list mailing list