XML, CDDATA + foreign chars = :(

Hi,

I’ve developed a CMS system that allows users to change the textual content and save the changes back to an XML doc.

All works fine in English but the writing to the XML Keeps falling over when it reaches a foreign character… Even when wrapped with the CDDATA tag.

The application needs to support users translating the content into different languages.

I’m using zinc to write out the XML string.

During runtime all changes are stored back directly to the XML object ( the same one that is loaded at the start and is used to populated the CMS) then I use XML.toString() to create a string variable to pass to zinc to save out the file…

Any help on this would be greatly appreciated.

Many thanks!