diff --git a/composer.json b/composer.json index 05e2894..2f78b15 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "description": "PHP errors Catcher module for Hawk.so", "keywords": ["hawk", "php", "error", "catcher"], "type": "library", - "version": "2.2.9", + "version": "2.2.10", "license": "MIT", "require": { "ext-curl": "*", diff --git a/src/Serializer.php b/src/Serializer.php index bf65e9f..de642f9 100644 --- a/src/Serializer.php +++ b/src/Serializer.php @@ -20,7 +20,7 @@ final class Serializer */ public function serializeValue($value): string { - $encoded = json_encode($this->prepare($value)); + $encoded = json_encode($this->prepare($value), JSON_UNESCAPED_UNICODE); if ($encoded === false) { return '';