-
Notifications
You must be signed in to change notification settings - Fork 575
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/UTF-8 is unnecessarily escaped #37
Comments
Hi @jujucheng can you give a little more explanation of the issue? Does this describe the problem? Input: |
Ok, I have reproduced that issue, It looks like those characters may be escaped according to the spec, but don't need to be. I'll look into possibly changing it or adding an option for conditionally escaping Unicode/UTF-8. |
ya, that the problem,QQ |
Hi Tim, just wondering has this issue been fixed? cos i have encountered the same issue as well. something like this: "SMS": "\u77ED\u4FE1" |
Hi, This is just my resolution case and not general type. Set objStream = CreateObject("ADODB.Stream") '----- Some your codes -----
In JsonConverter Module '---- Codes ---- Remove or set to comment code below. |
@nextcrom that solution suited me perfectly, thank you! |
Unfortunately all of the fixes for UTF-8 support are Windows-only. It's a major issue that I'm looking into, but may not have a good solution for a while. |
Spent a good few minutes today debuggin what was producing the strange escaped unicode in our Access workflow. Would be great if you come across a way to solve this in a cross-platform manner. In the meantime will look into the workaround @nextcrom kindly provided (thank you!). |
I have added pull request #168 to add an option to preserve the Unicode text instead of escaping it. If accepted, this pull request should close this issue. |
so any changes? as always has this problem |
also problem what always put \r to all text |
Para los tildes solucione de esta forma, los resaltados de amarillo los marque como comentario. Antes \u00C1NCASH |
The commit from @joyfullservice is not working, but @breshman is absolutely right! |
That probably depends on the type of output that you want. If you are writing to a file, some programs may need a UTF-8 BOM in the output file to properly render the extended characters. |
Worked like a charm for Portuguese- BR ... Tks. |
the result is "\u963f"
the picture shows my trouble. can anyone help me?
The text was updated successfully, but these errors were encountered: