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