1--TEST-- 2htmlentities() test 12 (default_charset / ISO-8859-1) 3--INI-- 4output_handler= 5default_charset=ISO-8859-1 6--FILE-- 7<?php 8print ini_get('default_charset')."\n"; 9var_dump(htmlentities("\xe4\xf6\xfc", ENT_QUOTES, '')); 10?> 11--EXPECT-- 12ISO-8859-1 13string(18) "äöü" 14