LiMinggang / madedit-mod

MadEdit-Mod is a cross platform Text/Hex editor(based on the madedit project @ sourceforge)
GNU General Public License v3.0
126 stars 27 forks source link

新增的jsonformat功能,中文字符会被转成utf字符 #309

Closed songhtdo closed 4 years ago

songhtdo commented 4 years ago

你好。 上次新增的jsonformat功能,最近发现会把中文字符串改成utf8字符。比如: {"name":"中华人民共和国",age:70}

格式化后: { "age" : 70, "name" : "\u00e4\u00b8\u00ad\u00e5\u008d\u008e\u00e4\u00ba\u00ba\u00e6\u00b0\u0091\u00e5\u0085\u00b1\u00e5\u0092\u008c\u00e5\u009b\u00bd" } 这应该算是一个bug.

LiMinggang commented 4 years ago

JSON formatter自身的问题,里面自动转的。

LiMinggang commented 4 years ago

Fixed in master

songhtdo commented 4 years ago

太棒了!