in reply to Convert strings with unknown encodings to html
The test program above already uses that module. Unfortunately, it is insufficient.