Skip to content

Error Domain=io.nvh.targzip.zlib.error Code=-2 #19

@LeeRHuang

Description

@LeeRHuang

mkdir a folder named NVHTarGzip_测试,error message occur.

Error Domain=io.nvh.targzip.zlib.error Code=-2 "Unexpected state from zlib" UserInfo={NSLocalizedDescription=Unexpected state from zlib}

what case this issue is that my folder's name contains chinese words,but encode is used
[destinationPath cStringUsingEncoding:NSASCIIStringEncoding]
if i clear the folder's chinese word ,everything goes well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions