Skip to content
New issue

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

iconv not allowed #166

Closed
gracefullight opened this issue Aug 23, 2017 · 1 comment
Closed

iconv not allowed #166

gracefullight opened this issue Aug 23, 2017 · 1 comment

Comments

@gracefullight
Copy link

gracefullight commented Aug 23, 2017

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:
image
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.

@richarvey
Copy link
Owner

Ok, I'm pushing out the fix for this right now. Expect tag 1.3.1 to fix this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants