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

migrate 9pfs to use TextEncoder to fix 3 byte utf bug #1139

Merged
merged 5 commits into from
Aug 29, 2024

Conversation

ProgrammerIn-wonderland
Copy link
Contributor

3 byte utf8 characters such as in 9pfs filenames are currently broken due to a bugged UTF implementation in /lib/utf8.js. This PR aims to get rid of most of the code in utf8.js and replace it with the modern TextEncoder and TextDecoder equivalents

lib/utf8.js Outdated Show resolved Hide resolved
@copy copy merged commit f3339aa into copy:master Aug 29, 2024
3 checks passed
@copy
Copy link
Owner

copy commented Aug 29, 2024

Thanks!

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