[
https://issues.apache.org/jira/browse/GROOVY-10685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17564488#comment-17564488
]
Eric Milles commented on GROOVY-10685:
--------------------------------------
What are you expecting? That looks like proper encoded JSON.
> the default JsonOutput.toJson() can't handle when the String is chinese.
> ------------------------------------------------------------------------
>
> Key: GROOVY-10685
> URL: https://issues.apache.org/jira/browse/GROOVY-10685
> Project: Groovy
> Issue Type: Wish
> Reporter: zouchangpeng
> Priority: Minor
> Attachments: image-2022-07-09-08-56-35-658.png,
> image-2022-07-09-08-57-15-627.png
>
>
> 当我使用默认的 JsonOutput.toJson() 时,遇到 String 是中文的,输出不正确。
> !image-2022-07-09-08-56-35-658.png!
>
> 输出是:
> !image-2022-07-09-08-57-15-627.png!
>
> 我希望当句柄字符串为中文时,默认操作可以正确处理。
--
This message was sent by Atlassian Jira
(v8.20.10#820010)