docker-library / docker-library/php
iconv ASCII//TRANSLIT invalid argument
Open
Nobody has claimed this yet.
- Dominant language
- Dockerfile
- Stars
- 4k
- Forks
- 2k
- Avg merge
- 5d 21h
- Merged PRs (30d)
- 1
Description
With php:8.3-fpm-alpine image, I encountered an error when using iconv with TRANSLIT argument.
echo é | iconv -f UTF-8 -t ASCII//TRANSLIT
iconv: destination charset ASCII//TRANSLIT: Invalid argument
On Ubuntu with iconv 2.35, this command works correctly.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the command shown with the php:8.3-fpm-alpine image and compare it with the Ubuntu result described in the issue. Trace the image's iconv support and determine what image-level change would make ASCII//TRANSLIT work; done means the command accepts the destination charset and transliterates é successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, php
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100