Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Non-English characters

 
Alagu Seenivasan
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I changed the header to
<?xml version="1.0" encoding="ISO-8859-1" ?>
Now it works fine.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic