function tt_cphtml2utf8()



The function tt_cphtml2UTF8 converts Ansi text coded as iso-codepage into UTF8 coded Unicode. If the text contains Html-entities (eg Ü = 'ü'), this char is also converted into Unicode and coded in UTF8.

If the Ansi text already includes UTF8 coded Unicode chars, the UTF8 coded chars remain untouched.

Hmm, can I use this routine to remove Html entities from an UTF8 text? Yes!