cvs: php4 /ext/iconv/tests 003.inc 003.phpt bug16069.inc bug16069.phpt
| From: | Derick Rethans | Date: | Wed, 09 Oct 2002 20:30:30 +0000 |
| Subject: | cvs: php4 /ext/iconv/tests 003.inc 003.phpt bug16069.inc bug16069.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-14762@lists.php.net to get a copy of this message | ||
derick Wed Oct 9 16:30:30 2002 EDT
Added files:
/php4/ext/iconv/tests bug16069.inc bug16069.phpt
Removed files:
/php4/ext/iconv/tests 003.inc 003.phpt
Log:
- Use a more descriptive filename
Index: php4/ext/iconv/tests/bug16069.inc
+++ php4/ext/iconv/tests/bug16069.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/bug16069.phpt
+++ php4/ext/iconv/tests/bug16069.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('bug16069.inc'); ?>
--EXPECT--
¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë(¡ë§¥¡ë)