Message165386
Hi, Martin.
I tried your test case with attached file.
And I got below result.
p3 ./encodings.py
encoding: sjis, filename: f馬
encoding: cp437, filename: fön
sjis_filename = f馬
cp437_filename = fön
There are two success cases.
So I think that the patch needs to change default_encoding
before or in _decode_filename().
But I have no idea about how to change a default_encoding. |
|
Date |
User |
Action |
Args |
2012-07-13 14:44:19 | umedoblock | set | recipients:
+ umedoblock, loewis, amaury.forgeotdarc, vstinner, ocean-city, serhiy.storchaka |
2012-07-13 14:44:19 | umedoblock | set | messageid: <1342190659.58.0.996688880368.issue10614@psf.upfronthosting.co.za> |
2012-07-13 14:44:19 | umedoblock | link | issue10614 messages |
2012-07-13 14:44:18 | umedoblock | create | |
|