Skip to content

No enforcement of windows-1252 anywhere #18

@Artoria2e5

Description

@Artoria2e5

The current source code does not do any encoding conversion -- it just gets whatever the char* API puts out and puts them in the archive. As a result, the actual encoding will vary by the system's locale settings. On en-US Windows you will probably get 1252 (probably? yes, because there's a control panel switch to always use 65001), but on Chinese you might get 936, and on saner platforms that use the same encoding everywhere you would get UTF-8.

This is very different from the README's:

The encoding for paths within the archive is Windows-1252 (case-insensitive)

ZIP has a flag bit for UTF-8, but oops, there's no reserved bit in ZArchive.

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