cvs: php4 /ext/iconv/tests 001.phpt
| From: | Stig Bakken | Date: | Thu, 11 Oct 2001 00:41:15 +0000 |
| Subject: | cvs: php4 /ext/iconv/tests 001.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-7752@lists.php.net to get a copy of this message | ||
ssb Wed Oct 10 20:41:15 2001 EDT
Modified files:
/php4/ext/iconv/tests 001.phpt
Log:
* make test pass
Index: php4/ext/iconv/tests/001.phpt
diff -u php4/ext/iconv/tests/001.phpt:1.2 php4/ext/iconv/tests/001.phpt:1.3
--- php4/ext/iconv/tests/001.phpt:1.2 Sat Aug 25 05:23:10 2001
+++ php4/ext/iconv/tests/001.phpt Wed Oct 10 20:41:15 2001
@@ -7,12 +7,12 @@
--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: æøå