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