From 46bcaf5f9d224c5fae8f8c92a738f78a764c6405 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sun, 14 Aug 2016 19:34:44 +0200 Subject: Define JSON_UNESCAPED_UNICODE for PHP 5.3 https://github.com/FreshRSS/FreshRSS/issues/1208 --- lib/lib_rss.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/lib_rss.php b/lib/lib_rss.php index b5ba78889..986dc1fb6 100644 --- a/lib/lib_rss.php +++ b/lib/lib_rss.php @@ -15,6 +15,8 @@ if (!function_exists('json_encode')) { } } +defined('JSON_UNESCAPED_UNICODE') or define('JSON_UNESCAPED_UNICODE', 256); //PHP 5.3 + if (!function_exists('array_replace_recursive')) { //PHP 5.2 function arr_recurse($array, $array1) { foreach ($array1 as $key => $value) { -- cgit v1.2.3