On Tuesday 19 June 2007 12:44, Thomas Bickel wrote:
> Javier Martinez wrote:
> > Hi!
> >
> > I've made some captures of what happens with iText version 2.0.4
> >
> > http://fotosjavi.fotopic.net/p42420514.html
>
> The image data is binary now, it was just plain 7 bit ASCII in older
> versions. You are converting that binary data to a string without
> specifying a charset which is probably messing things up. Try to use the
> "ISO-8859-1" charset when converting the image data to a string and make
> sure that the data does not get "converted" further when you save it later
> on.
I had forgotten about this change.
I will also be adding a switch to select either binary or ASCII representation 
of images. In the meantime you could also modify the RtfImage class yourself 
to switch back to ASCII representation.

Greetings,
Mark

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to