This repository has been archived by the owner on Oct 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
不能正确处理一些Unicode字符 #304
Milestone
Comments
那个字符串粘到github上被干掉了。。貌似最新版修复了这个问题。1.1.35有问题。 String ss = "{'a':'Intki_E96?\u001A Build'}";
System.err.println(ss);
Object sss = JSON.parse(ss); 这个\u001A 貌似是个合法的Unicode字符,历史遗留物。 http://stackoverflow.com/questions/17024436/what-is-the-unicode-u001a-character-aka-0x1a |
JSONObject j=new JSONObject(); 转义字符\t也没做处理 |
wenshao
added a commit
that referenced
this issue
Apr 13, 2016
wenshao
added a commit
that referenced
this issue
Apr 13, 2016
bug fixed. included in 1.2.9 & 1.1.49.android. |
wenshao
added a commit
that referenced
this issue
Jul 17, 2019
asa1997
pushed a commit
to Be-Secure/fastjson
that referenced
this issue
Feb 8, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
测试代码:
异常:
The text was updated successfully, but these errors were encountered: