Ansi with HTML entities to Utf8

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!