iconv not allowed #166
Labels
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ric/nginx-php-fpm#166
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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 1any other character set
Notice: iconv(): Wrong charset, conversion from UTF-8 to EUC-KR is not allowed in Command line code on line 1Please refer to this issue,
There is no error when using mb_convert_encoding. I just think I can use this.
Ok, I'm pushing out the fix for this right now. Expect tag 1.3.1 to fix this