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

Support decoding UTF-16 paths #50

Merged
merged 1 commit into from
Jul 12, 2021
Merged

Support decoding UTF-16 paths #50

merged 1 commit into from
Jul 12, 2021

Conversation

benrg
Copy link
Contributor

@benrg benrg commented Jul 12, 2021

In at least some pak files, a negative path length in the index flags a
UTF-16 encoded path. This patch changes the decoding logic to handle
that case, but doesn't change index encoding, which still uses UTF-8.

In at least some pak files, a negative path length in the index flags a
UTF-16 encoded path. This patch changes the decoding logic to handle
that case, but doesn't change index encoding, which still uses UTF-8.
@benrg benrg mentioned this pull request Jul 12, 2021
@panzi panzi merged commit 5c8f61f into panzi:master Jul 12, 2021
@panzi
Copy link
Owner

panzi commented Jul 12, 2021

Thank you!

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

Successfully merging this pull request may close these issues.

None yet

2 participants