cvs: php4 /ext/iconv/tests 003.inc 003.phpt translit.inc translit.phpt
| From: | Moriyoshi Koizumi | Date: | Wed, 09 Oct 2002 20:19:13 +0000 |
| Subject: | cvs: php4 /ext/iconv/tests 003.inc 003.phpt translit.inc translit.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-14758@lists.php.net to get a copy of this message | ||
moriyoshi Wed Oct 9 16:19:13 2002 EDT
Added files:
/php4/ext/iconv/tests 003.inc 003.phpt
Removed files:
/php4/ext/iconv/tests translit.inc translit.phpt
Log:
Renamed the test case files in order to avoid confusion
Index: php4/ext/iconv/tests/003.inc
+++ php4/ext/iconv/tests/003.inc
<?php
/* charset=CP932, KOI8-R */
$str =
"\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d";
print iconv( "CP932", "EUC-JP//TRANSLIT", $str );
$str = "(\x9c\xe4\x9c)";
print iconv( "KOI8-R", "EUC-JP//TRANSLIT", $str );
?>
Index: php4/ext/iconv/tests/003.phpt
+++ php4/ext/iconv/tests/003.phpt
--TEST--
Bug #16069
--SKIPIF--
<?php include( 'skipif.inc' ); if( @iconv('CP932',
'EUC-JP//TRANSLIT', "\x87\x6d") == '' ) die("skip\n"); ?>
--POST--
--GET--
--FILE--
<?php include('003.inc'); ?>
--EXPECT--
¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë(¡ë§¥¡ë)