docker-library / docker-library/php

iconv ASCII//TRANSLIT invalid argument

Open
#1,495 4 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.