Provide fallbacks for use of mb_convert_encoding() in HtmlFormatter