From c0c02459f803754956ae7c4a39cab147b9eec21b Mon Sep 17 00:00:00 2001 From: Shikiryu Date: Fri, 3 Nov 2017 08:28:29 +0100 Subject: [PATCH] :art: Prend en compte l'encodage pour JSON --- library/Deal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Deal.php b/library/Deal.php index c8971bc..380408d 100644 --- a/library/Deal.php +++ b/library/Deal.php @@ -315,7 +315,7 @@ class Deal $method = sprintf('get%s', ucfirst($prop->getName())); $json[$prop->getName()] = $this->$method(); } - return \json_encode($json); + return \json_encode($json, JSON_UNESCAPED_UNICODE); } /**