File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

[Castor] Encoding "special" characters

 
Joop Knoop
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I�ve got a problem using castor. The problem is that �special� characters (like �, �, � etc.) are not processed like I expect them to be.

For example,
the incoming xml message contains a string like ����r�n�. Directly after the unmarshalling has taken place the value of the string is changed to �������R��N� and is stored and displayed this way.

The xml messages use the UTF-8 encoding. I�m using castor version 0.9.4.3 with the latest xercesImpl.jar.

Any suggestions on what goes wrong or how to solve this problem?

Thanks in advance,
Joop
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic