From c3f68c9d77299df1aa5fb25b4bcaa5844d9c3379 Mon Sep 17 00:00:00 2001 From: stuzer05 Date: Tue, 12 Dec 2023 14:10:29 +0200 Subject: [PATCH] Fixes --- api/php/php_array_to_json.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/php/php_array_to_json.php b/api/php/php_array_to_json.php index ea1acba..0c2e3e8 100644 --- a/api/php/php_array_to_json.php +++ b/api/php/php_array_to_json.php @@ -10,7 +10,7 @@ $minify_json = $input['minify_json']; try { eval("\$data_array = {$data};"); - $json = @json_encode($data_array, $minify_json ? null : JSON_PRETTY_PRINT); + $json = @json_encode($data_array, JSON_UNESCAPED_UNICODE | ($minify_json ? null : JSON_PRETTY_PRINT)); echo json_encode([ 'data' => $json,