1--TEST--
2htmlentities() test 8 (mbstring / EUC-JP)
3--INI--
4output_handler=
5error_reporting=~E_STRICT
6mbstring.internal_encoding=EUC-JP
7--SKIPIF--
8<?php
9	extension_loaded("mbstring") or die("skip mbstring not available\n");
10--FILE--
11<?php
12	mb_internal_encoding('EUC-JP');
13	print mb_internal_encoding()."\n";
14	var_dump(htmlentities("\xa1\xa2\xa1\xa3\xa1\xa4", ENT_QUOTES, ''));
15?>
16--EXPECT--
17EUC-JP
18string(6) "������"
19