Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

iconv(): Wrong charset, conversion from utf-8' to utf-8//IGNORE' is not allowed #8

Closed
macbre opened this issue Apr 30, 2020 · 1 comment · Fixed by #9
Closed

iconv(): Wrong charset, conversion from utf-8' to utf-8//IGNORE' is not allowed #8

macbre opened this issue Apr 30, 2020 · 1 comment · Fixed by #9

Comments

@macbre
Copy link
Member

macbre commented Apr 30, 2020

lazyfrosch/docker-icingaweb2@353c5d0 // Icinga/icingaweb2-module-director#2052

The problem seems to be that iconv in musl is not implemented to support that conversion, when using GNU iconv it works.

@macbre
Copy link
Member Author

macbre commented Apr 30, 2020

PHP 7.4 @ debian

$ php -r '$res = iconv("utf-8", "utf-8//IGNORE", "fooą");'

No notice

PHP 7.3 @ alpine

/opt # php -r '$res = iconv("utf-8", "utf-8//IGNORE", "fooą");'
PHP Notice:  iconv(): Wrong charset, conversion from `utf-8' to `utf-8//IGNORE' is not allowed in Command line code on line 1

macbre added a commit that referenced this issue Apr 30, 2020
iconv(): Wrong charset, conversion from `utf-8' to `utf-8//IGNORE' is not allowed

Fixes #8

See Icinga/icingaweb2-module-director#2052
@macbre macbre closed this as completed in #9 Apr 30, 2020
macbre added a commit that referenced this issue Jun 18, 2021
macbre added a commit that referenced this issue Jun 18, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant