We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
These two functions are deprecated on PHP 8.2 and going to be removed on PHP 9.
We need to replace these.
mb_convert_encoding($string, "UTF-8", mb_detect_encoding($string))
mb_convert_encoding($string, "ISO-8859-1", "UTF-8")
source: https://stackoverflow.com/questions/74865684/php-utf8-en-decode-deprecated-what-can-i-use
Make use of https://github.com/joomlatools/joomlatools-framework/blob/master/code/libraries/joomlatools/library/legacy.php for re-defining the functions when removed.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
These two functions are deprecated on PHP 8.2 and going to be removed on PHP 9.
We need to replace these.
Solution
Encode
mb_convert_encoding($string, "UTF-8", mb_detect_encoding($string))
Decode
mb_convert_encoding($string, "ISO-8859-1", "UTF-8")
source: https://stackoverflow.com/questions/74865684/php-utf8-en-decode-deprecated-what-can-i-use
Implementation
Make use of https://github.com/joomlatools/joomlatools-framework/blob/master/code/libraries/joomlatools/library/legacy.php for re-defining the functions when removed.
The text was updated successfully, but these errors were encountered: