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