Commit 2f97c3e
committed
ext/iconv/tests/bug76249.phpt: drop //IGNORE suffix
This test performs a conversion from UCS-2 to UTF-8 using iconv and
stream filters, with the suffix "//IGNORE" being added to the target
charset. This magic //IGNORE string was recently standardized in POSIX
2024, but it is not yet portable: musl for example will simply fail
when it encounters //IGNORE in what is supposed to be a charset name.
Fortunately, we do not need to think too hard about the general
problem here: the input is "abc", which has no un-translatable
sequences. We can simply drop the "//IGNORE".1 parent 9098d15 commit 2f97c3e
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
| 10 | + | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
0 commit comments