diff options
-rw-r--r-- | ext/iconv/tests/001.phpt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/iconv/tests/001.phpt b/ext/iconv/tests/001.phpt index 1713f0e968..6574d07cf9 100644 --- a/ext/iconv/tests/001.phpt +++ b/ext/iconv/tests/001.phpt @@ -7,12 +7,12 @@ iconv test --FILE-- <?php echo "iconv extension is available\n"; -$test = "Stig S誥her Bakken"; -print "$test\n"; -printf("%s\n", iconv("iso-8859-1", "utf-8", $test)); +$test = "æøå"; +printf("ISO-8859-1: %s\nUTF-8: %s\n", + $test, iconv("ISO-8859-1", "UTF-8", $test)); ?> --EXPECT-- iconv extension is available -Stig S誥her Bakken -Stig Sテヲther Bakken +ISO-8859-1: æøå +UTF-8: æøå |