diff options
author | Yasuo Ohgaki <yohgaki@php.net> | 2002-07-14 00:08:22 +0000 |
---|---|---|
committer | Yasuo Ohgaki <yohgaki@php.net> | 2002-07-14 00:08:22 +0000 |
commit | 3639807a819ed0378d0ae17fe8a3cb0ddb1a305d (patch) | |
tree | d3535ca4b09e90e9bca3ad7f7fbcb09ac213ce0e | |
parent | 99b495b25d3a2b3a0b5efe79ba14d2fc6860fcfb (diff) | |
download | php-git-3639807a819ed0378d0ae17fe8a3cb0ddb1a305d.tar.gz |
Fix tests. Moriyoshi Koizumi <readjust@deneb.freemail.ne.jp>
-rw-r--r-- | ext/iconv/tests/eucjp2utf8.inc | 2 | ||||
-rw-r--r-- | ext/iconv/tests/eucjp2utf8.phpt | 2 | ||||
-rw-r--r-- | ext/iconv/tests/translit.phpt | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/ext/iconv/tests/eucjp2utf8.inc b/ext/iconv/tests/eucjp2utf8.inc index 5971491f88..7fd64b410a 100644 --- a/ext/iconv/tests/eucjp2utf8.inc +++ b/ext/iconv/tests/eucjp2utf8.inc @@ -40,7 +40,7 @@ $str = " 日本語テキストとEnglish Text "; -$str = iconv("EUC-JP", "UTF8", $str); +$str = iconv("EUC-JP", "UTF-8", $str); $str = base64_encode($str); echo $str."\n"; diff --git a/ext/iconv/tests/eucjp2utf8.phpt b/ext/iconv/tests/eucjp2utf8.phpt index 88b05f92a6..69a659f3f0 100644 --- a/ext/iconv/tests/eucjp2utf8.phpt +++ b/ext/iconv/tests/eucjp2utf8.phpt @@ -1,7 +1,7 @@ --TEST-- EUC-JP to UTF8 --SKIPIF-- -<?php include('skipif.inc'); if (iconv("EUC-JP", "UTF8", '') === FALSE) die("skip\n"); ?> +<?php include('skipif.inc'); if (iconv("EUC-JP", "UTF-8", '') === FALSE) die("skip\n"); /* libiconv(1.8) doesn't know "UTF8" but "UTF-8". */ ?> --POST-- --GET-- --FILE-- diff --git a/ext/iconv/tests/translit.phpt b/ext/iconv/tests/translit.phpt index 70f375c18f..2d16d80ba0 100644 --- a/ext/iconv/tests/translit.phpt +++ b/ext/iconv/tests/translit.phpt @@ -1,7 +1,7 @@ --TEST-- ICONV: LIBICONV transliteration (bug #16069) --SKIPIF-- -<?php include('skipif.inc'); if(iconv('CP932', 'EUC-JP//TRANSLIT', '\x87\x6d') === FALSE) die("skip\n"); ?> +<?php include('skipif.inc'); if( iconv('CP932', 'EUC-JP//TRANSLIT', "\x87\x6d") == '' ) die("skip(no libiconv)\n"); ?> --POST-- --GET-- --FILE-- |