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!

Curly Quotes Problem

843841Jan 14 2008 — edited Jan 16 2008
I have a html form which occassionally has text input containing curly quotes. This is posted to my servlet and written as text to an xml file. However, an error occurs, due to the curly quotes and the xml file never gets written.
I've tried unsuccessfully to write some javascript to replace the curly quotes with straight quotes. The problem here is that the servlet cannot handle curly quotes when it downloads the javascript.
Can anyone help with this please?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 13 2008
Added on Jan 14 2008
3 comments
232 views