Win a copy of Design for the Mind this week in the Design 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
  • 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
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic