sgzwiz / jsonplugin

Automatically exported from code.google.com/p/jsonplugin
0 stars 1 forks source link

JSONReader does not read all Unicode escapes (\uXXXX) correctly #87

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Convince the browser to send \u000e or \u000f
2. Receive something completely different in action

What is the expected output? What do you see instead?
String should contain \u000e or \u000f.  Instead it receives the equivalent
of -6 or -7.

Amazing that this was never noticed!

Original issue reported on code.google.com by jjlin...@gmail.com on 13 Mar 2009 at 12:45

GoogleCodeExporter commented 9 years ago
Checked into rev 91

Original comment by jjlin...@gmail.com on 13 Mar 2009 at 5:37