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

UTF16 Buffer #62

Open
dimitrirostavo opened this issue Nov 3, 2015 · 2 comments
Open

UTF16 Buffer #62

dimitrirostavo opened this issue Nov 3, 2015 · 2 comments

Comments

@dimitrirostavo
Copy link

Is there a way in ByteBuffer I can create a UTF16 string from a UTF8 string ? Would really help me a lot.

Thanks!

@dcodeIO
Copy link
Member

dcodeIO commented Nov 3, 2015

ByteBuffer stores strings as UTF8 bytes by default, but returns these as a standard JavaScript string, which is UTF16 basically. Do you need UTF16 bytes?

@dimitrirostavo
Copy link
Author

Thank you so much for your reply. Yea, I am looking for UTF16LE Byte representation of a JavaScript string.

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

No branches or pull requests

2 participants