Welcome to WebmasterWorld Guest from 220.127.116.11
Forum Moderators: open
I need some help in filtering out (brute force replace is ok) these ilegal characters.
joined:Nov 12, 2005
So, for instance:
<title>The Big Book of <XML> & &agrave;cc&eacute;nted char&agrave;ct&egrave;rs</title>
<title><![CDATA[The Big Book of <XML> & àccénted charàctèrs]]></title>
the CDATA is a far better solution
Unless you know that the user-entered data is safe, like it's only EVER going to be an integer or alphanumeric string, then treat it as CDATA and encapsulate it accordingly.