Annotation of embedaddon/php/Zend/tests/multibyte/multibyte_encoding_005.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: encoding conversion from script encoding into internal encoding
        !             3: --SKIPIF--
        !             4: <?php
        !             5: if (!in_array("detect_unicode", array_keys(ini_get_all()))) {
        !             6:   die("skip Requires configure --enable-zend-multibyte option");
        !             7: }
        !             8: if (!extension_loaded("mbstring")) {
        !             9:   die("skip Requires mbstring extension");
        !            10: }
        !            11: ?>
        !            12: --INI--
        !            13: mbstring.encoding_translation = On
        !            14: mbstring.script_encoding=Shift_JIS
        !            15: mbstring.internal_encoding=UTF-8
        !            16: --FILE--
        !            17: <?php
        !            18:        function —\Ž\”\($ˆ๘”)
        !            19:        {
        !            20:                echo $ˆ๘”;
        !            21:        }
        !            22: 
        !            23:        —\Ž\”\("ƒhƒŒƒ~ƒtƒ@ƒ\");
        !            24: ?>
        !            25: --EXPECT--
        !            26: ใƒ‰ใƒฌใƒŸใƒ•ใ‚กใ‚ฝ

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>