Fix StrHtmlEcmaEscAppend() more edge cases in utf8 handling