docker-alpine icon indicating copy to clipboard operation
docker-alpine copied to clipboard

iconv isn't working

Open Kalyse opened this issue 8 years ago • 2 comments

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

Kalyse avatar Sep 28 '16 00:09 Kalyse

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

ncopa avatar Sep 28 '16 16:09 ncopa

https://github.com/docker-library/php/issues/240#issuecomment-327992638 helps

but surely it's bad idea to add dependency from testing to community

andypost avatar Dec 07 '18 22:12 andypost