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

UTF-16 support #2

Open
tmm1 opened this issue Apr 14, 2021 · 1 comment · May be fixed by #5
Open

UTF-16 support #2

tmm1 opened this issue Apr 14, 2021 · 1 comment · May be fixed by #5

Comments

@tmm1
Copy link

tmm1 commented Apr 14, 2021

Thanks for this library!

What would it take to add support for UTF-16 and UTF-16BE ?

@justinmichaelvieira
Copy link

@tmm1 not sure if you are still interested in doing this, but golang has encode and decode methods for utf16 here: https://pkg.go.dev/unicode/utf16#pkg-variables

It would be possible to add utf16 similar to how I recently added cp850; see: #3

The applicable go package is: unicode.utf16. You can follow the PR I created for CP850 and replace UTF16 where necessary.

UTF16BE I am unfamiliar with, I am unsure if that one is supported.

@eric eric linked a pull request Apr 25, 2024 that will close this issue
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 a pull request may close this issue.

2 participants