Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of deprecated NSString call in ZipArchive class #24

Open
GoogleCodeExporter opened this issue Mar 23, 2016 · 0 comments
Open

Use of deprecated NSString call in ZipArchive class #24

GoogleCodeExporter opened this issue Mar 23, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What version of the product are you using? On what operating system?

ZipArchive 1.2

Mac OS X 10.6.8/ iOS SDK 4.3

Please provide any additional information below.

On line 210 (approx.) of ZipArchive.mm the line


NSString * strPath = [NSString  stringWithCString:filename];

should be changed to 

NSString * strPath = [NSString  stringWithCString:filename 
encoding:NSUTF8StringEncoding];

as the first call is deprecated in Mac OS 10.4

Original issue reported on code.google.com by mcj_1...@me.com on 1 Jul 2011 at 10:43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant