Skip to content

Support decoding UTF-16 paths#50

Merged
panzi merged 1 commit intopanzi:masterfrom
benrg:utf16
Jul 12, 2021
Merged

Support decoding UTF-16 paths#50
panzi merged 1 commit intopanzi:masterfrom
benrg:utf16

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.

2 participants