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