Skip to content

Commit 7878a2c

Browse files
authored
Fix iconv_open basic test (#15611)
Transliteration works differently across the iconv implementations and the system. When using GNU libiconv the output in this test is: string(16) "Zlutouck'y kun\n" (like on Windows). On glibc's built-in iconv output is: string(15) "Zlutoucky kun\n"
1 parent eb87de1 commit 7878a2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/iconv/tests/iconv_basic_001.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ $string_out = iconv($in_charset, $out_charset, $string_to_translate);
2121

2222
var_dump($string_out);
2323
?>
24-
--EXPECT--
25-
string(15) "Zlutoucky kun\n"
24+
--EXPECTF--
25+
string(1%d) "Zlutouck%Sy kun\n"

0 commit comments

Comments
 (0)