diff --git a/system/Entity.php b/system/Entity.php index 94153d0b9a15..10a0355839f2 100644 --- a/system/Entity.php +++ b/system/Entity.php @@ -372,7 +372,7 @@ public function __set(string $key, $value = null) // back to the database. if (($castTo === 'json' || $castTo === 'json-array') && function_exists('json_encode')) { - $value = json_encode($value); + $value = json_encode($value, JSON_UNESCAPED_UNICODE); if (json_last_error() !== JSON_ERROR_NONE) {