cvs: php4 /ext/iconv/tests 001.phpt
| From: | Rui Hirokawa | Date: | Tue, 09 Jan 2001 15:39:25 +0000 |
| Subject: | cvs: php4 /ext/iconv/tests 001.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-3513@lists.php.net to get a copy of this message | ||
hirokawa Tue Jan 9 07:39:25 2001 EDT
Added files:
/php4/ext/iconv/tests 001.phpt
Log:
added test code to iconv.
Index: php4/ext/iconv/tests/001.phpt
+++ php4/ext/iconv/tests/001.phpt
--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