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