/** * Replace HTML type accents in UTF-8 encoded strings, and then DE-ACCENT * Replace accented UTF-8 characters like by unaccented ASCII-7 equivalents * * @param STRING $string * @return STRING */ private static function safe_charset($html) { //-- return SmartUnicode::html_entities($html); //-- }