1--TEST-- 2htmlentities() test 14 (default_charset / Shift_JIS) 3--INI-- 4output_handler= 5mbstring.internal_encoding=pass 6default_charset=Shift_JIS 7filter.default=unsafe_raw 8--FILE-- 9<?php 10 print ini_get('default_charset')."\n"; 11 var_dump(htmlentities("\x81\x41\x81\x42\x81\x43", ENT_QUOTES, '')); 12?> 13--EXPECTF-- 14Shift_JIS 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) "�A�B�C" 18