开发者

compatibility problem with unicode file name in zip files

I am trying to compress a file that has unicode characters in it.

when im using winzip, nor winrar and window "compressed folder" view it normally. when im using winrar, both winzip and winrar can view it, but not windows "compressed folder".

i tried many c# classes and change many encodings with no success. i also tried apache common compressor with java and had no luck also.

it seems like windows "compressed folder" just cant view unicode characters in file names, but i开发者_JS百科m asking you, do you know a way to encode a unicoded file in a zip so it will open in windows compressed folder properly?

thank you in advanced for any help.


You can force 7-Zip to use unicode:

Right click, 7-Zip > Add to archive... > Write "cu" in the Parameters field.


This scenario will likely not work. The ZIP functionality built into Windows has a number of well-known Unicode problems. These are described here.


Use 7-Zip to create the ZIP archive. It's free Open Source from http://7-zip.org


This hotfix apparently solves the problem in Windows 7 and Windows Server 2008 R2. Windows 8/10 I think is immune.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜