Special Characters in Chat Filter
Posted: 10 Feb 2010, 02:53
We have a custom chat filter which makes use of a third party to filter the message string. When I retrieve the message parameter in the PubMsg event (ieo.getParam("msg"), if the chat contains special characters it will be 'escaped' to some ascii coding or something. For example, the apostrophe appears as '.
Is there some easy way to translate that back to the apostrophe character, and if I do so, will it cause a problem when I dispatch the message after handling the event?
Is there some easy way to translate that back to the apostrophe character, and if I do so, will it cause a problem when I dispatch the message after handling the event?