xml encoding problem with apostrophes
843834Feb 26 2003 — edited Mar 5 2003Hi,
I have a web page (runs on unix) that sits on top of a xml document (via jsp). The users enter an apostrophe and it's saved in the xml file as '...'..'. Then when they come to view the data again, anything after that apostrophe is not visible (although it is saved in the xml file).
I've tried changing the encoding from UTF-8 to ISO-8859-1 but still have the same problem. Can anyone help please?
(using xerces-1.4.4.jar along with OutputFormat and XMLSerializer to write the document to xml. Using the same jar and DocumentBuilder to load/parse the doc).