[php-src] PR #22543: ext/iconv/tests/bug52211.phpt: use per-iconv charset names
| From: | orlitzky | Date: | Wed, 01 Jul 2026 22:47:23 +0000 |
| Subject: | [php-src] PR #22543: ext/iconv/tests/bug52211.phpt: use per-iconv charset names | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-36768@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/22543
Author: orlitzky
The charset names used in this test are implementation-specific, and in particular are not known to
musl. This causes musl to fall back to utf8, in which the input string is not actually invalid,
leading to a failed test. The input string is already invalid in ASCII however, so we solve the
general problem by using ASCII as the to/from charset unless the
ICONV_IMPL is known to
support the originals.
Fixes another one of the failures in https://github.com/php/php-src/issues/22413