diff --git a/Source/API/script/index.php b/Source/API/script/index.php index 9b1e1f6..c90e5bc 100644 --- a/Source/API/script/index.php +++ b/Source/API/script/index.php @@ -44,7 +44,9 @@ $app->get('/', function (Request $request, Response $response) { if (method_exists($gateway, $method)) { $ok = true; $rep = ((new $gateway)->$method($parameters)); - $response->getBody()->write(json_encode($rep, JSON_PRETTY_PRINT)); + $response->getBody()->write(json_encode($rep, JSON_UNESCAPED_UNICODE)); + $response->getBody()->write(json_encode($rep, JSON_UNESCAPED_UNICODE)); + } }catch (PDOException $e){ throw new PDOError($request,$e->getMessage(),$e);