1--TEST--
2htmlentities() test 13 (default_charset / EUC-JP)
3--INI--
4output_handler=
5mbstring.internal_encoding=pass
6default_charset=EUC-JP
7filter.default=unsafe_raw
8--FILE--
9<?php
10	print ini_get('default_charset')."\n";
11	var_dump(htmlentities("\xa1\xa2\xa1\xa3\xa1\xa4", ENT_QUOTES, ''));
12?>
13--EXPECTF--
14EUC-JP
15
16Strict Standards: htmlentities(): Only basic entities substitution is supported for multi-byte encodings other than UTF-8; functionality is equivalent to htmlspecialchars in %s on line %d
17string(6) "������"
18