fix wrong input chars decoding by flag JSON_INVALID_UTF8_IGNORE

This commit is contained in:
ghost 2022-01-14 09:00:35 +02:00
parent a596be9eb4
commit 7e598c3718

View File

@ -80,7 +80,7 @@ class Curl {
if ($response) {
if ($json) {
return json_decode($response, true);
return json_decode($response, true, 512, JSON_INVALID_UTF8_IGNORE);
} else {
return $response;
}