Skip to content

Commit

Permalink
Merge pull request #5661 from SparkLee/patch-1
Browse files Browse the repository at this point in the history
encode multibyte Unicode characters literally
  • Loading branch information
jxlwqq authored Sep 17, 2022
2 parents 27f535e + c28ac16 commit 3fb6c9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Show/Field.php
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ public function json()
if (json_last_error() == 0) {
$field->border = false;

return '<pre><code>'.json_encode($content, JSON_PRETTY_PRINT).'</code></pre>';
return '<pre><code>'.json_encode($content, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE).'</code></pre>';
}

return $value;
Expand Down

0 comments on commit 3fb6c9e

Please sign in to comment.