File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes Non-English characters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Non-English characters" Watch "Non-English characters" New topic
Author

Non-English characters

Alagu Seenivasan
Greenhorn

Joined: Sep 30, 2000
Posts: 18
How do you handle non-english characters ?
I have to parse the following
<Relationship>Cu�ada</Relationship>
I am using xerces to parse. It does not work. The character � is replaced by a ?.
I am trying to convert the xml to a text file.
I tried
<Relationship><![CDATA[Cu�ada]]</Relationship>
It does not work either .
Any ideas ? Is it something to do with the parser ?
Thanks.
Srini.

Alagu Seenivasan
Greenhorn

Joined: Sep 30, 2000
Posts: 18
I changed the header to
<?xml version="1.0" encoding="ISO-8859-1" ?>
Now it works fine.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Non-English characters
 
Similar Threads
c:url c:param encoding
non-english
How to replace multibyte characters in a string
Ada Programming
XML -> SAX -> MYSQL conversion losing character encoding...