[Python-Dev] Filename as byte string in python 2.6 or 3.0? (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Sep 30 01:32:42 CEST 2008


Ulrich Eckhardt wrote:

AFAIK, OS X guarantees UTF-8 for filesystem encodings. So the OS also provides Unicode filenames and how it deals with broken or legacy media is left up to the OS.

Does this mean that the OS always returns valid utf-8 strings from filesystem calls, even if the media is broken or legacy?

-- Greg



More information about the Python-Dev mailing list