Merge branch 'unicode-escape-fix' of maxmitti/fast-json-stream into master

Thanks :)
master
vitalif 2020-09-07 18:07:42 +03:00 committed by Gogs
commit a40e5fc3cb
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ class JSONStream
$this->offset += strlen($m[0]);
if ($m[0][0] == "\\")
{
if ($m[0] == 'u')
if ($m[0][1] == 'u')
$v .= mb_convert_encoding(pack('H*', str_replace('\\u', '', $m[0])), 'UTF-8', 'UTF-16BE');
else
{