Annotation of embedaddon/php/ext/standard/tests/strings/htmlentities05.phpt, revision 1.1.1.2
1.1 misho 1: --TEST--
2: htmlentities() test 5 (mbstring / cp1252)
3: --INI--
4: output_handler=
1.1.1.2 ! misho 5: mbstring.internal_encoding=cp1252
1.1 misho 6: --SKIPIF--
7: <?php
8: extension_loaded("mbstring") or die("skip mbstring not available\n");
9: --FILE--
10: <?php
11: print mb_internal_encoding()."\n";
12: var_dump(htmlentities("\x82\x86\x99\x9f", ENT_QUOTES, ''));
13: var_dump(htmlentities("\x80\xa2\xa3\xa4\xa5", ENT_QUOTES, ''));
14: ?>
15: --EXPECT--
16: Windows-1252
17: string(28) "‚†™Ÿ"
18: string(32) "€¢£¤¥"
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>