fix unicode support

This commit is contained in:
ghost 2022-01-09 14:14:22 +02:00
parent 871b56b79f
commit 9b8f9e0b09

View File

@ -61,7 +61,7 @@ class Curl {
}
if ($method == 'POST' && $postFields) {
curl_setopt($this->_curl, CURLOPT_POSTFIELDS, json_encode($postFields));
curl_setopt($this->_curl, CURLOPT_POSTFIELDS, json_encode($postFields, JSON_UNESCAPED_UNICODE));
}
}