PHP 8.2 deprecated utf8_decode , utf8_encode and remove in PHP 9.0
https://wiki.php.net/rfc/remove_utf8_decode_and_utf8_encode
utf8_encode function is ISO-8859-1 -> UTF8
utf8_decode function is UTF8 -> ISO-8859
so alternative function is iconv <- it's worng
PHP 8.2 deprecated utf8_decode , utf8_encode and remove in PHP 9.0
https://wiki.php.net/rfc/remove_utf8_decode_and_utf8_encode
utf8_encode function is ISO-8859-1 -> UTF8
utf8_decode function is UTF8 -> ISO-8859
so alternative function is iconv<- it's worng