diff --git a/src/Helper/StringHelper.php b/src/Helper/StringHelper.php index 16627ff..6d51b0a 100644 --- a/src/Helper/StringHelper.php +++ b/src/Helper/StringHelper.php @@ -468,7 +468,7 @@ public function isUtf8(): bool */ public function toUtf8(): static { - if (!$this->isUtf8()) { + if (!$this->isUtf8() && !$this->isInt()) { $this->string = mb_convert_encoding($this->string, 'UTF-8', mb_list_encodings()); }