--TEST--
Test get_html_translation_table() function : basic functionality - charset WINDOWS-1252
--FILE--
--EXPECT--
*** Testing get_html_translation_table() : basic functionality/Windows-1252 ***
-- with table = HTML_ENTITIES --
array(125) {
["Æ"]=>
string(7) "Æ"
["Á"]=>
string(8) "Á"
["Â"]=>
string(7) "Â"
["À"]=>
string(8) "À"
["Å"]=>
string(7) "Å"
["Ã"]=>
string(8) "Ã"
["Ä"]=>
string(6) "Ä"
["Ç"]=>
string(8) "Ç"
["‡"]=>
string(8) "‡"
["Ð"]=>
string(5) "Ð"
["É"]=>
string(8) "É"
["Ê"]=>
string(7) "Ê"
["È"]=>
string(8) "È"
["Ë"]=>
string(6) "Ë"
["Í"]=>
string(8) "Í"
["Î"]=>
string(7) "Î"
["Ì"]=>
string(8) "Ì"
["Ï"]=>
string(6) "Ï"
["Ñ"]=>
string(8) "Ñ"
["Œ"]=>
string(7) "Œ"
["Ó"]=>
string(8) "Ó"
["Ô"]=>
string(7) "Ô"
["Ò"]=>
string(8) "Ò"
["Ø"]=>
string(8) "Ø"
["Õ"]=>
string(8) "Õ"
["Ö"]=>
string(6) "Ö"
["Š"]=>
string(8) "Š"
["Þ"]=>
string(7) "Þ"
["Ú"]=>
string(8) "Ú"
["Û"]=>
string(7) "Û"
["Ù"]=>
string(8) "Ù"
["Ü"]=>
string(6) "Ü"
["Ý"]=>
string(8) "Ý"
["Ÿ"]=>
string(6) "Ÿ"
["á"]=>
string(8) "á"
["â"]=>
string(7) "â"
["´"]=>
string(7) "´"
["æ"]=>
string(7) "æ"
["à"]=>
string(8) "à"
["&"]=>
string(5) "&"
["å"]=>
string(7) "å"
["ã"]=>
string(8) "ã"
["ä"]=>
string(6) "ä"
["„"]=>
string(7) "„"
["¦"]=>
string(8) "¦"
["•"]=>
string(6) "•"
["ç"]=>
string(8) "ç"
["¸"]=>
string(7) "¸"
["¢"]=>
string(6) "¢"
["ˆ"]=>
string(6) "ˆ"
["©"]=>
string(6) "©"
["¤"]=>
string(8) "¤"
["†"]=>
string(8) "†"
["°"]=>
string(5) "°"
["÷"]=>
string(8) "÷"
["é"]=>
string(8) "é"
["ê"]=>
string(7) "ê"
["è"]=>
string(8) "è"
["ð"]=>
string(5) "ð"
["ë"]=>
string(6) "ë"
["€"]=>
string(6) "€"
["ƒ"]=>
string(6) "ƒ"
["½"]=>
string(8) "½"
["¼"]=>
string(8) "¼"
["¾"]=>
string(8) "¾"
[">"]=>
string(4) ">"
["…"]=>
string(8) "…"
["í"]=>
string(8) "í"
["î"]=>
string(7) "î"
["¡"]=>
string(7) "¡"
["ì"]=>
string(8) "ì"
["¿"]=>
string(8) "¿"
["ï"]=>
string(6) "ï"
["«"]=>
string(7) "«"
["“"]=>
string(7) "“"
["‹"]=>
string(8) "‹"
["‘"]=>
string(7) "‘"
["<"]=>
string(4) "<"
["¯"]=>
string(6) "¯"
["—"]=>
string(7) "—"
["µ"]=>
string(7) "µ"
["·"]=>
string(8) "·"
[" "]=>
string(6) " "
["–"]=>
string(7) "–"
["¬"]=>
string(5) "¬"
["ñ"]=>
string(8) "ñ"
["ó"]=>
string(8) "ó"
["ô"]=>
string(7) "ô"
["œ"]=>
string(7) "œ"
["ò"]=>
string(8) "ò"
["ª"]=>
string(6) "ª"
["º"]=>
string(6) "º"
["ø"]=>
string(8) "ø"
["õ"]=>
string(8) "õ"
["ö"]=>
string(6) "ö"
["¶"]=>
string(6) "¶"
["‰"]=>
string(8) "‰"
["±"]=>
string(8) "±"
["£"]=>
string(7) "£"
["""]=>
string(6) """
["»"]=>
string(7) "»"
["”"]=>
string(7) "”"
["®"]=>
string(5) "®"
["›"]=>
string(8) "›"
["’"]=>
string(7) "’"
["‚"]=>
string(7) "‚"
["š"]=>
string(8) "š"
["§"]=>
string(6) "§"
[""]=>
string(5) ""
["¹"]=>
string(6) "¹"
["²"]=>
string(6) "²"
["³"]=>
string(6) "³"
["ß"]=>
string(7) "ß"
["þ"]=>
string(7) "þ"
["˜"]=>
string(7) "˜"
["×"]=>
string(7) "×"
["™"]=>
string(7) "™"
["ú"]=>
string(8) "ú"
["û"]=>
string(7) "û"
["ù"]=>
string(8) "ù"
["¨"]=>
string(5) "¨"
["ü"]=>
string(6) "ü"
["ý"]=>
string(8) "ý"
["¥"]=>
string(5) "¥"
["ÿ"]=>
string(6) "ÿ"
}
-- with table = HTML_SPECIALCHARS --
array(4) {
["&"]=>
string(5) "&"
[">"]=>
string(4) ">"
["<"]=>
string(4) "<"
["""]=>
string(6) """
}
Done