• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Issue with XMLEncoder unicode character encoding

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am facing an issue with Unicode character encoding when i use "XMLEncoder"
When i have my string value as "\u00A4" and use XMLEncoder to encode the string, my XML looks some thing like below (Replacing data with question marks. Please see the attachment)

Eventhough my XML says "encoding = UTF-8", its still not able to encode/decode my unicode codepoint "\u00A4"

Can any of you please let me know what could be the issue here ?

Thanks in advance
XML.png
[Thumbnail for XML.png]
 
Rancher
Posts: 1044
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Maybe the file is okay but only its displaying went awry.
reply
    Bookmark Topic Watch Topic
  • New Topic