• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Non-English characters

 
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
Boost this thread!