projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01cc407
)
Fix diacritics in api explorer output
author
Coleman Watts
<coleman@civicrm.org>
Mon, 23 Mar 2015 16:33:47 +0000
(12:33 -0400)
committer
Coleman Watts
<coleman@civicrm.org>
Mon, 23 Mar 2015 16:33:47 +0000
(12:33 -0400)
CRM/Utils/REST.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/REST.php
b/CRM/Utils/REST.php
index 0df9cdd939e806c4490f0fd281529519289abcb7..1f506bfeafe4456943614a9f60a40cdb8d415d94 100644
(file)
--- 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