function decode_high($text) { $cmap = cmap(); return mb_decode_numericentity($text, $cmap, "UTF-8"); }
function decode_high($text, $charset = "UTF-8") { $cmap = cmap(); return mb_decode_numericentity($text, $cmap, $charset); }