docker-alpine
docker-alpine copied to clipboard
iconv isn't working
When using with PHP, returns error
Notice: iconv(): Wrong charset, conversion from `utf-8' to `us-ascii//TRANSLIT' is not allowed
Essentially the same issue as reported on https://github.com/docker-library/php/issues/240
It is technically correct behavior. POSIX specifies that an argument to iconv_open containing / is to be treated as a pathname to a charmap file. Explained in a related issue: https://github.com/akrennmair/newsbeuter/issues/364#issuecomment-250208235
https://github.com/docker-library/php/issues/240#issuecomment-327992638 helps
but surely it's bad idea to add dependency from testing to community