Message138490
| Author |
amaury.forgeotdarc |
| Recipients |
amaury.forgeotdarc, loewis, ocean-city, vstinner |
| Date |
2011年06月17日.05:49:00 |
| SpamBayes Score |
0.015092779 |
| Marked as misclassified |
No |
| Message-id |
<1308289740.88.0.84924790494.issue12281@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> 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(). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年06月17日 05:49:00 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, loewis, vstinner, ocean-city |
| 2011年06月17日 05:49:00 | amaury.forgeotdarc | set | messageid: <1308289740.88.0.84924790494.issue12281@psf.upfronthosting.co.za> |
| 2011年06月17日 05:49:00 | amaury.forgeotdarc | link | issue12281 messages |
| 2011年06月17日 05:49:00 | amaury.forgeotdarc | create |
|