utf8_decode
spatie/once
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Converts a string from UTF-8 to ISO-8859-1, replacing invalid or unrepresentable characters
<?php utf8_decode
(
string $string
):
string