mirror of
https://github.com/php/php-src.git
synced 2024-10-13 04:22:34 +00:00
2121989d4d
# However, the test still fails on my system
19 lines
346 B
PHP
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
|