Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

xml encoding problem with apostrophes

843834Feb 26 2003 — edited Mar 5 2003
Hi,
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).
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 2 2003
Added on Feb 26 2003
5 comments
790 views