@@ -183,7 +183,7 @@ |
||
| 183 | 183 | */ |
| 184 | 184 | public function mbJsonEncode(array $input) |
| 185 | 185 | { |
| 186 | - return preg_replace_callback('/\\\\u([0-9a-zA-Z]{4})/', function ($matches) { |
|
| 186 | + return preg_replace_callback('/\\\\u([0-9a-zA-Z]{4})/', function($matches) { |
|
| 187 | 187 | return mb_convert_encoding(pack('H*', $matches[1]), 'UTF-8', 'UTF-16'); |
| 188 | 188 | }, |
| 189 | 189 | json_encode($input, JSON_UNESCAPED_UNICODE) |