Meaningless Drivel is fun!*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Non-English characters" Watch "Non-English characters" New topic

Non-English characters

Alagu Seenivasan

Joined: Sep 30, 2000
Posts: 18
How do you handle non-english characters ?
I have to parse the following
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
It does not work either .
Any ideas ? Is it something to do with the parser ?

Alagu Seenivasan

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

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Non-English characters
Similar Threads
How to replace multibyte characters in a string
c:url c:param encoding
Ada Programming
XML -> SAX -> MYSQL conversion losing character encoding...