php-src/ext/iconv/tests/001.phpt
Wez Furlong 2121989d4d This test needed a newline after an echo.
# However, the test still fails on my system
2001-08-25 09:23:10 +00:00

19 lines
346 B
PHP

--TEST--
iconv test
--SKIPIF--
<?php if (!extension_loaded("iconv")) print "skip"; ?>
--POST--
--GET--
--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));
?>
--EXPECT--
iconv extension is available
Stig S誥her Bakken
Stig Sテヲther Bakken