This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Storing image in CP858 encoding in XML using Java

 
Madhu Sudhan B T
Greenhorn
Posts: 21
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I need to retrieve image(tiff files) from XML which are stored using CP858 encoding by java program. Can anyone please guide me with useful info or sample code.

Thanks in advance.
 
William P O'Sullivan
Ranch Hand
Posts: 859
Chrome IBM DB2 Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You mean this:
http://en.wikipedia.org/wiki/Code_page_858

If this is truly a TIFF image, why are you bothering with an encoding designed for European languages.

What you need to do is hex encode the image and store as [CDATA] in an XML document.

WP
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic