User1583078828 posted
Hello,
We have a problem with a web application which uses JavaScriptSerializer().Serialize to encode a JSON string. We get different results on our Test and Production Servers.
We thought it was due to the version of System.Web.Extensions which were different on each machine.
Test 3.5.30729.5446
Prod. 3.5.30729.5458
but after synchronizing these versions on both machines we still get different results.
I wrote a WPF app which outputs the results. This is the exact line of code I am using.
newJavaScriptSerializer().Serialize(HttpUtility.HtmlEncode(txtHTML.Text));
The result on Test when a " is entered in txtHTML.text is: \u0026quot;
The result on Production when a " is entered in txtHTML.text is: "
Does anyone have any idea why this may be?
thanks,
sivilian