Skip to content

Commit

Permalink
add JSON_UNESCAPED_UNICODE
Browse files Browse the repository at this point in the history
  • Loading branch information
mavinoo authored Oct 30, 2021
1 parent bff39ec commit 6cdce14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Common/Common.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ protected static function safeJson($jsonData, $asArray = false)
$safeJsonData[$key] = $value;
}
}
return $asArray ? $safeJsonData : json_encode($safeJsonData);
return $asArray ? $safeJsonData : json_encode($safeJsonData, JSON_UNESCAPED_UNICODE);
}

}

0 comments on commit 6cdce14

Please sign in to comment.