Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
songhtdo opened this issue Jul 18, 2020 · 3 comments
Closed

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

songhtdo opened this issue Jul 18, 2020 · 3 comments
Assignees
Labels
Milestone

Comments

@songhtdo
Copy link

你好。
上次新增的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 LiMinggang self-assigned this Jul 18, 2020
@LiMinggang
Copy link
Owner

LiMinggang commented Jul 18, 2020

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

@LiMinggang LiMinggang added the bug label Jul 18, 2020
@LiMinggang
Copy link
Owner

Fixed in master

@songhtdo
Copy link
Author

太棒了!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants