If you have xml there's encoding information. If you have html you may or may not have encoding information and if you have is a lot down in the file as a "<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">". You'll have to scan the file looking for this and reopen the file in a Reader with the correct encoding.

----- Original Message ----- From: "Luciano Rodrigues" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[email protected]>
Sent: Tuesday, January 10, 2006 7:21 PM
Subject: RE: [iText-questions] HTML to PDF


Thanks!

I see there! But I dont found one example for my case.

The enconding 'ISO-8859-1' is my problem, because result error 'Invalid byte 2 of 3-byte UTF-8 sequence.'

My text is in Portuguese, I have text 'ãçíóê' for example, because this I need enconding ='ISO-8859-1'

"Bill Ensley" <[EMAIL PROTECTED]> 10/01/2006 17:02 >>>

The iText tutorial is a great place to start.

http://itextdocs.lowagie.com/tutorial/

-Bill Ensley
Bear Printing

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Luciano Rodrigues
Sent: Tuesday, January 10, 2006 10:27 AM
To: [email protected]
Subject: [iText-questions] HTML to PDF



I need to convert a HTML file to PDF file.

How do I do this?  Why my HTML file use encoding="ISO-8859-1".







-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to