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

Unicode Support #687

Closed
garudaonekh opened this issue Sep 10, 2024 · 3 comments
Closed

Unicode Support #687

garudaonekh opened this issue Sep 10, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@garudaonekh
Copy link

garudaonekh commented Sep 10, 2024

Hi,
I try to send Unicode and convert it to String using dataViewToText() but it shows garbage value.
"��������"

Any suggestion to convert or support unicode?

Thanks;

@garudaonekh garudaonekh added the enhancement New feature or request label Sep 10, 2024
@peitschie
Copy link
Collaborator

Generally you'd be using TextEncoder to convert a string into bytes.
I'm not entirely sure what you're wanting to achieve here though?

@garudaonekh
Copy link
Author

My data will be mixed of ASCII and Unicode.

@garudaonekh
Copy link
Author

Thanks. I have to use TextDecoder class

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

No branches or pull requests

2 participants