summaryrefslogtreecommitdiff
path: root/ext/iconv/tests/001.phpt
blob: a380d278aa93412a87d1de9ca1444b9a51033fce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--TEST--
iconv test
--SKIPIF--
<?php if (!extension_loaded("iconv")) print "skip"; ?>
--POST--
--GET--
--FILE--
<?php
echo "iconv extension is available";
$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