[Python-ideas] Introduce some obvious way to encode and decode filenames from Python code

Sven Marnach sven at marnach.net
Tue Jul 17 23:25:42 CEST 2012


Victor Stinner schrieb am Tue, 17. Jul 2012, um 03:03:24 +0200:
> os.fsencode() should not be used explicitly on Windows.

What else should I do to pipe filenames to another process?  At least,
os.fsencode() seems to work, even with cyrillic filenames.

Cheers,
    Sven



More information about the Python-ideas mailing list