-
Notifications
You must be signed in to change notification settings - Fork 139
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
Special characters in the string are incorrectly encoded #90
Comments
Encountered the same issue today. It seems that |
Seems to be the same issue as #86 |
Is this fixed now? I ran the above test code and it worked.
|
Not fixed:
=== RUN TestStdJsonParseStd |
The way we worked around this is we wrote code to scan the output and "fix" any unicode chars not properly escaped. |
There was a PR in progress in #87 that fixed this. In aperturerobotics#2 I added unit tests (including the suggested test case above) that verified its fixed with those changes. Hopefully these changes can get merged into one/both of these repos... |
test code
Output
Expected:
like the standard library, encode
�
to\u0014
insteadof\x14
(which will cuase a problem when decodeing the json string later)The text was updated successfully, but these errors were encountered: