This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Arfrever, amaury.forgeotdarc, benjamin.peterson, brett.cannon, eric.araujo, georg.brandl, r.david.murray, vstinner
Date 2010-12-14.23:47:56
SpamBayes Score 2.2871345e-06
Marked as misclassified No
Message-id <>
> Haypo describes his complicated patch as "useful on Windows", 
> but not critical

Usecase on Windows: your japanese friend gives you an USB key (eg. created on Windows with code page 932) with his Python project, you cannot run it on your english speaking Windows (eg. code page 1252), because it loads Python modules with japanese characters in their paths.

It works if all paths are encodable to your ANSI code page. It doesn't work if a least one character of one path is not encodable to your ANSI code page.

I don't know if this usecase is common or not.

Note: the FAT file system of the USB key stores filenames as UTF-16 (and not in the user code page).
Date User Action Args
2010-12-14 23:47:57vstinnersetrecipients: + vstinner, brett.cannon, georg.brandl, amaury.forgeotdarc, benjamin.peterson, eric.araujo, Arfrever, r.david.murray
2010-12-14 23:47:57vstinnersetmessageid: <>
2010-12-14 23:47:56vstinnerlinkissue3080 messages
2010-12-14 23:47:56vstinnercreate