Hi,
I have developed one Application Form it contains <textarea>'s. User is trying to copy the content from msWord.
Problem is the content contains (Trade Mark)TM symbols etc. Those are converting it into another Symbols when we saved the form.I am storing data in XML files. I tried with UTF-8 and ISO-1-8859.
Anynody help me in this.
Thanks in advance,
LALITH
-
How to store special characters in JDOM ? (2 messages)
- Posted by: lalitha prasad
- Posted on: April 28 2005 02:08 EDT
Threaded Messages (2)
- Try using StringUtils by Mikkel Heisterberg on May 10 2005 16:12 EDT
- Try using StringUtils by lalitha prasad on June 08 2005 02:17 EDT
-
Try using StringUtils[ Go to top ]
- Posted by: Mikkel Heisterberg
- Posted on: May 10 2005 16:12 EDT
- in response to lalitha prasad
The Jakarta Commons Lang project has a StringUtils class that knows how to escape/unescape text for different representations incl. XML. Give that a try.
http://jakarta.apache.org/commons/lang/api/org/apache/commons/lang/StringEscapeUtils.html
/lekkim -
Try using StringUtils[ Go to top ]
- Posted by: lalitha prasad
- Posted on: June 08 2005 02:17 EDT
- in response to Mikkel Heisterberg
The Jakarta Commons Lang project has a StringUtils class that knows how to escape/unescape text for different representations incl. XML. Give that a try.http://jakarta.apache.org/commons/lang/api/org/apache/commons/lang/StringEscapeUtils.html/lekkim
We need to display some Special Characters (http://courses.chem.psu.edu/chem38/technical/special-characters.html) in the Application Form. We are using JDOM for storing the data.
The Characters are ≥ , ÷ , ± , β , γ , α should be displayed.
'≥' is converted into '¿?¿'. Why it is happening like this.
Please help me in this regard.
Thanks in advance,
LALITH