Author umedoblock
Recipients amaury.forgeotdarc, loewis, ocean-city, serhiy.storchaka, umedoblock, vstinner
Date 2012-07-13.14:44:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1342190659.58.0.996688880368.issue10614@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-07-13 14:44:19umedoblocksetrecipients: + umedoblock, loewis, amaury.forgeotdarc, vstinner, ocean-city, serhiy.storchaka
2012-07-13 14:44:19umedoblocksetmessageid: <1342190659.58.0.996688880368.issue10614@psf.upfronthosting.co.za>
2012-07-13 14:44:19umedoblocklinkissue10614 messages
2012-07-13 14:44:18umedoblockcreate