gliderlabs / docker-alpine

Alpine Linux Docker image. Win at minimalism!
http://gliderlabs.viewdocs.io/docker-alpine
BSD 2-Clause "Simplified" License
5.7k stars 528 forks source link

iconv isn't working #216

Open Kalyse opened 7 years ago

Kalyse commented 7 years ago

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

ncopa commented 7 years ago

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

andypost commented 5 years ago

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

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