From 9b8f9e0b093bef4668d30380aa6390efd6745ebd Mon Sep 17 00:00:00 2001 From: ghost Date: Sun, 9 Jan 2022 14:14:22 +0200 Subject: [PATCH] fix unicode support --- src/system/curl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/curl.php b/src/system/curl.php index 85ea194..81dfdaa 100644 --- a/src/system/curl.php +++ b/src/system/curl.php @@ -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)); } }