Quantcast
Channel:
Viewing all articles
Browse latest Browse all 4235

Re: SS3.0.3 / CMS: reload content

$
0
0

Hi, i think i have found the solution: I have Changed "framework/core/convert.php" from

   public static function raw2json($val) {
      return json_encode($val);
   }

to

   public static function raw2json($val) {
      array_walk_recursive($val, function (&$item, $key) {
         if (is_string($item)) $item = mb_encode_numericentity($item, array (0x80, 0xffff, 0, 0xffff), 'UTF-8');
      });
      return mb_decode_numericentity(json_encode($val), array (0x80, 0xffff, 0, 0xffff), 'UTF-8');
      
      //return json_encode($val);
   }

Now it seems to work. I think with this solution u can use SS3 without mb_regex_encoding('UTF-8');

Greetings, Carsten.


Posted to: SS3.0.3 / CMS: reload content | Show Thread | Post Reply


Viewing all articles
Browse latest Browse all 4235

Trending Articles