From 695ad4c7ac02fbf3c87c80ecdf6346ad44759491 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Mon, 23 Mar 2015 12:33:47 -0400 Subject: [PATCH] Fix diacritics in api explorer output --- CRM/Utils/REST.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/REST.php b/CRM/Utils/REST.php index 0df9cdd939..1f506bfeaf 100644 --- a/CRM/Utils/REST.php +++ b/CRM/Utils/REST.php @@ -187,7 +187,7 @@ class CRM_Utils_REST { public static function jsonFormated($data) { // If php is 5.4+ we can use the native method if (defined('JSON_PRETTY_PRINT')) { - return json_encode($data, JSON_PRETTY_PRINT + JSON_UNESCAPED_SLASHES); + return json_encode($data, JSON_PRETTY_PRINT + JSON_UNESCAPED_SLASHES + JSON_UNESCAPED_UNICODE); } // PHP 5.3 shim -- 2.25.1