Closed donghuiqiu closed 10 months ago
I solved
Could you share how you solve the problem?
Actually, we don't use the charset you provided on the iOS platform since it's supposed to be working automatically by the ZipArchvice library, which is used under the hood.
I changed kCFStringEncodingDOSLatinUS to kCFStringEncodingGB_18030_2000 in file SSZipArchive.m, it works for me
------------------ 原始邮件 ------------------ 发件人: "mockingbot/react-native-zip-archive" @.>; 发送时间: 2022年11月26日(星期六) 晚上6:20 @.>; @.**@.>; 主题: Re: [mockingbot/react-native-zip-archive] charset GBK or UTF-8 is no work in ios (Issue #273)
Actually, we don't use the charset you provided on the iOS platform since it's supposed to be working automatically by the ZipArchvice library, which is used under the hood.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Describe the bug charset GBK or UTF-8 is no work on ios,and the zip files are from windows mechine use GBK to zip
To Reproduce charset GBK or UTF-8 or US-ASCII , I try all and none of them working, android works fine with GBk
Expected behavior
There's some special chars in xxxx.zip
Env (please complete the following information):