Re: [Q] How can I repair file name with wrong encoding?
Re: [Q] How can I repair file name with wrong encoding?
- Subject: Re: [Q] How can I repair file name with wrong encoding?
- From: John Stiles <email@hidden>
- Date: Thu, 13 Mar 2008 14:56:55 -0700
Maybe it's treating the filename bytes as Latin-1?
Just a guess, but that'd be the first thing I'd check. Second would be
MacRoman.
Aki Inoue wrote:
Yes, sounds like there really is a bug.
Please file a bug and attached the zip archive possible.
Thank you,
Aki
On 2008/03/13, at 7:48, Jens Alfke wrote:
On 12 Mar '08, at 10:27 PM, S.J.Chun wrote:
It seems that when Finder unzips the zip file from Windows(which
have files of CP949 encoded filename), it does not make unzipped
file name as byte-by-byte equally as CP949; it does use some kind
of unknown transformation of encoded name.
That's too bad. I don't know how you could find out what it's doing;
it sounds like an implementation detail of the BOM framework. (IIRC,
zip files don't describe their filenames' encodings, so in the case
of something non-ascii, the decoder would basically have to guess.)
I suggest you file a bug report, since this behavior is certainly
wrong. There probably isn't anything that can be done to fix this,
since it's guesswork, but you might get a reply with information
about what the actual transformation is.
—Jens_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden