> > Using "html entities" make sure the correct character is > > represented whatever the character set or character code is used by > > the browser.
> That's correct, but the server maps the wrong HTML entities if it doesn't run > in a locale that uses CP 1252! > > For example: > Currently char #162 is hard coded to represent the cent sign: > HTML Entity: 'cent' , { #162 cent } > > In windows-1251 however #162 maps to the small kyrillic letter U (short). TextToHtmlText do not use the character code. It use the html entity. It is the browser which replace the entity by the [hopefully] correct character. In your example, char #162 is replaced by "¢" in the html output. This represent the cnet character whatever the code page is. Or is it me who miss something... -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be