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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, loewis, ocean-city, vstinner
Date 2011-06-17.05:49:00
SpamBayes Score 0.0150928
Marked as misclassified No
Message-id <>
> I don't know yet how Windows do decode bytes filenames
> (especially how it handles undecodable bytes), 
> I suppose that it uses MultiByteToWideChar using cp=CP_ACP and flags=0.
It's likely, yes.  But you don't need a new codec function for this.
What about something like .decode('mbcs', errors='windows')?

I still don't see the advantage of codecs.code_page_encode().
Date User Action Args
2011-06-17 05:49:00amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, loewis, vstinner, ocean-city
2011-06-17 05:49:00amaury.forgeotdarcsetmessageid: <>
2011-06-17 05:49:00amaury.forgeotdarclinkissue12281 messages
2011-06-17 05:49:00amaury.forgeotdarccreate