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

Use modified utf-8 for encoding and decoding strings #192

Open
Tracked by #156
ch-yx opened this issue Aug 6, 2023 · 2 comments
Open
Tracked by #156

Use modified utf-8 for encoding and decoding strings #192

ch-yx opened this issue Aug 6, 2023 · 2 comments

Comments

@ch-yx
Copy link

ch-yx commented Aug 6, 2023

data = value.encode("utf-8")

@ch-yx
Copy link
Author

ch-yx commented Aug 6, 2023

m-utf8 is used by java....

@vberlier vberlier mentioned this issue Jul 8, 2023
9 tasks
@vberlier vberlier changed the title the string s encoding is not utf8, but m-utf8 Use modified utf-8 for encoding and decoding strings Aug 6, 2023
@vberlier
Copy link
Owner

vberlier commented Aug 6, 2023

I won't be able to do anything about it in the coming weeks but I plan to start making releases for nbtlib v2 around september/october, it's going to be on the list of things that will get fixed with the rewrite.

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