Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: [Q] How can I repair file name with wrong encoding?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Q] How can I repair file name with wrong encoding?




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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

References: 
 >Re: Re: [Q] How can I repair file name with wrong encoding? (From: "S.J.Chun" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.