-
-
Notifications
You must be signed in to change notification settings - Fork 283
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(): Wrong charset, conversion from UTF-8 to ASCII//TRANSLIT//IGNORE is not allowed #43
Comments
Looks like it's an upstream issue with a dependency. Nette Utils doesn't work properly on Docker Alpine images. Insights depends on Simplify (deprecated-packages/symplify#966) which depends on Nette (nette/utils#109) which uses There's a trail of assigning blame, but ultimately the current state of PHP Insights won't work from an Alpine image without at least trying out to hack |
# fix work iconv library with alphine
RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/community/ --allow-untrusted gnu-libiconv
ENV LD_PRELOAD /usr/lib/preloadable_libiconv.so php |
This helped we when I tried to use https://github.com/palantirnet/drupal-rector first time with my Alpine 3.11 based Docker image. |
Fixed by installing RUN apk --no-cache add php7-mbstring php7-iconv Original solution here: docker-library/php#240 (comment) |
When running Insights on my Laravel project, I get the following stack
I haven't figured out what's the root cause yet.
The text was updated successfully, but these errors were encountered: