Try Python 3. Python 3 strings are native by default, so the os.listdir() in Python 3 should support the Japanese characters.
On Oct 17, 1:43 am, Jordan <[EMAIL PROTECTED]> wrote: > 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. -- http://mail.python.org/mailman/listinfo/python-list