Detecting filename-encoding (on WinXP)?

Tim N. van der Leeuw tim.leeuwvander at nl.unisys.com
Fri Feb 10 12:14:22 EST 2006


Actually, the directory-name comes in as a URL and as such I had no
problems yet just creating a unicode-string from it which I can pass to
os.walk(), and get proper unicode-filenames back from it.
Then I can encode them into utf-8 and pass them to the database-layer
and it all works.

cheers,

--Tim




More information about the Python-list mailing list