Closed wq9578 closed 1 year ago
Hello, Don't hesitate to make pull request to fix it :slightly_smiling_face:
Solution: Use the “mb_convert_encoding” function.
<?php
$utf8 = mb_convert_encoding("\xa5\xa7\xb5", 'UTF-8', 'ISO-8859-2'); // ISO-8859-2 -> UTF-8
$iso88592 = mb_convert_encoding($utf8, 'ISO-8859-2', 'UTF-8'); // UTF-8 -> ISO-8859-2
https://www.followchain.org/utf8-encode-decode-deprecated-php/
See also: https://lindevs.com/functions-utf8_encode-and-utf8_decode-are-deprecated-in-php-8-2
Hi @wq9578 It should be fixed with the new version, I don't have the warning anymore on my app Thank you @lucas-gp for the merge
Deprecated warning (using PHP 8.2.0):