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