-
Notifications
You must be signed in to change notification settings - Fork 523
Encoding problems #229
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
Comments
Hey @MarioSilv , I've faced the same issue in the past, but I'm not sure if it's the same situation as yours. I'm afraid your issue would be easily reproducible if you give us more context. The best case scenario would be if you provide us a (really) small project containing a simple (straightforward) unit test reproducing this error. |
How to reproduce the problem:
prints {"name":"Thomas M?ller"}What happens is this:
This part is pretty easy to get around by providing the array of bytes already decoded: The biggest problem is in the serialize method: |
Greetings.
I have a simple string object like this
String blabla = "{"id": 8,"name": "SANTARÉM"}",
in which i use JsonIterator.deserialize(blabla).get("name") and what i get is "SANTARɍ" and not "SANTARÉM";
I already try to check if JsonIterator has some configuration for enconding strings but didn't find anything.
Kind Regards,
The text was updated successfully, but these errors were encountered: