This repository has been archived by the owner on May 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 267
** Critical bug: Unicode Character doesn't serialize properly \u0003 #224
Comments
Does Pull Request #217 work for you? I had to implement a fix for this because of a similar issue. If you want to quickly test my fork on your code to see if it works for you, you can get it from https://github.com/st-gwerner/Utf8Json If it works, I'd also strongly suggest merging it to this repo |
@st-gwerner hey thanks! Yea it works! Btw, when building your fork version to generate the Library DLL, do i need to set it to release mode? Do you have a plan on maintaining that fork version repo? I hope you could add them on nuget. It looks like the main author of this library is not active anymore and yes i highly suggest that this PR should be merged with this Main Repo. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We have just found out that this end of text unicode character: \u0003 doesn't serialize properly in string causing the front end to crash and saying that the json is incorrect or in a malformed state (we are using the angularjs). I compare the values being serialize in newtonsoft versus utf8json and in newtonsoft, they serialize it as \u0003 not the string literal that is why its working.
Here is the output in utf8json (raw response):
And here is the output in newtonsoft (raw response):
The text was updated successfully, but these errors were encountered: