1--TEST-- 2htmlentities() test 11 (default_charset / ISO-8859-15) 3--INI-- 4output_handler= 5mbstring.internal_encoding=pass 6default_charset=ISO-8859-15 7--FILE-- 8<?php 9 print ini_get('default_charset')."\n"; 10 var_dump(htmlentities("\xbc\xbd\xbe", ENT_QUOTES, '')); 11?> 12--EXPECT-- 13ISO-8859-15 14string(20) "ŒœŸ" 15