You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to use this code in the shell, (when I try to use iconv function) php -d error_reporting=22527 -d display_errors=1 -r 'var_dump(iconv("UTF-8", "UTF-8//IGNORE", "This is the Euro symbol '\''€'\''."));'
I get the following error: Notice: iconv(): Wrong charset, conversion from UTF-8 to UTF-8//IGNORE is not allowed in Command line code on line 1
any other character set Notice: iconv(): Wrong charset, conversion from UTF-8 to EUC-KR is not allowed in Command line code on line 1
Hi @richarvey
When I try to use this code in the shell, (when I try to use iconv function)
php -d error_reporting=22527 -d display_errors=1 -r 'var_dump(iconv("UTF-8", "UTF-8//IGNORE", "This is the Euro symbol '\''€'\''."));'
I get the following error:
Notice: iconv(): Wrong charset, conversion from UTF-8 to UTF-8//IGNORE is not allowed in Command line code on line 1
any other character set
Notice: iconv(): Wrong charset, conversion from UTF-8 to EUC-KR is not allowed in Command line code on line 1
Please refer to this issue,
There is no error when using mb_convert_encoding. I just think I can use this.
The text was updated successfully, but these errors were encountered: