This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes Storing image in CP858 encoding in XML using Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Storing image in CP858 encoding in XML using Java" Watch "Storing image in CP858 encoding in XML using Java" New topic
Author

Storing image in CP858 encoding in XML using Java

Madhu Sudhan B T
Greenhorn

Joined: Nov 18, 2009
Posts: 21
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

Joined: Mar 28, 2012
Posts: 860

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
 
subject: Storing image in CP858 encoding in XML using Java
 
Similar Threads
Copy file
Convert special characters to readable ones
images
Conversion of GIF to JPEG
displaying image in any browser using xsl