1--TEST-- 2HTML entities of ISO-8859 chars 3--INI-- 4output_handler= 5--FILE-- 6<?php 7setlocale (LC_CTYPE, "C"); 8$sc_encoded = htmlspecialchars ("<>\"&��\n",ENT_COMPAT,"ISO-8859-1"); 9echo $sc_encoded; 10$ent_encoded = htmlentities ("<>\"&��\n",ENT_COMPAT,"ISO-8859-1"); 11echo $ent_encoded; 12echo html_entity_decode($sc_encoded,ENT_COMPAT,"ISO-8859-1"); 13echo html_entity_decode($ent_encoded,ENT_COMPAT,"ISO-8859-1"); 14?> 15--EXPECT-- 16<>"&�� 17<>"&åÄ 18<>"&�� 19<>"&�� 20