Message177508
| Author |
serhiy.storchaka |
| Recipients |
amaury.forgeotdarc, eric.araujo, ezio.melotti, jkloth, larry, loewis, r.david.murray, serhiy.storchaka, techtonik, vstinner |
| Date |
2012年12月14日.21:02:07 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1355519306.2581.7.camel@raxxla> |
| In-reply-to |
<1355516094.66.0.620561188221.issue16656@psf.upfronthosting.co.za> |
| Content |
> Who's trying (and failing) to encode the filename?
Windows. File created using Unicode API and stored UTF-16 encoded in
NTFS. Windows fails to represent this filename using ANSI API.
Here is a patch against 2.7 which always uses Unicode API in listdir()
and tries to encode filenames to str if str argument used. |
|