1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

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"
This commit is contained in:
Peter Kokot
2024-08-28 14:29:49 +02:00
committed by GitHub
parent eb87de1c87
commit 7878a2c322

View File

@@ -21,5 +21,5 @@ $string_out = iconv($in_charset, $out_charset, $string_to_translate);
var_dump($string_out);
?>
--EXPECT--
string(15) "Zlutoucky kun\n"
--EXPECTF--
string(1%d) "Zlutouck%Sy kun\n"