dzhibas / SublimePrettyJson

Prettify/Minify/Query/Goto/Validate/Lint JSON plugin for Sublime Text 3 & 4
MIT License
2.03k stars 180 forks source link

chinese characters be converted to unicode characters after format #142

Closed wxynihao closed 3 years ago

wxynihao commented 3 years ago

in sublime4, chinese characters be converted to unicode characters after format. for example,

{"name": "张三"}

will be converted to

{
    "name": "\u5f20\u4e09"
}
eatmoreduck commented 3 years ago

i found the bug too, top!

chechao commented 3 years ago

https://github.com/dzhibas/SublimePrettyJson/issues/132#issue-862249894

wxynihao commented 3 years ago

#132 (comment)

thanks

fanfanfufu commented 3 years ago

Preferences - Package Settings - Pretty Json - Settings add "ensure_ascii": false,

-- copy from #132 (comment)