Unicode File Names

Jordan jordan.taylor2 at gmail.com
Thu Oct 16 20:43:29 EDT 2008


I've got a bunch of files with Japanese characters in their names and
os.listdir() replaces those characters with ?'s. I'm trying to open
the files several steps later, and obviously Python isn't going to
find '01-????.jpg' (formally '01-ひらがな.jpg') because it doesn't exist.
I'm not sure where in the process I'm able to stop that from
happening. Thanks.



More information about the Python-list mailing list