A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Elasticsearch in Action
this week in the
Other JSE/JEE APIs
Storing image in CP858 encoding in XML using Java
Madhu Sudhan B T
Joined: Nov 18, 2009
Jul 11, 2012 09:14:44
I need to retrieve
(tiff files) from XML which are stored using CP858 encoding by
program. Can anyone please guide me with useful info or sample code.
Thanks in advance.
William P O'Sullivan
Joined: Mar 28, 2012
Jul 11, 2012 09:21:18
You mean this:
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.
I agree. Here's the link:
subject: Storing image in CP858 encoding in XML using Java
Convert special characters to readable ones
Conversion of GIF to JPEG
displaying image in any browser using xsl
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015