L. Dejoux wrote:
Hi,
The text i'm trying to insert to my RTF file contents some specific characters like apostrophe. (Actually the text come from a copy/past from MS Word it is stocked in a MySql DB and recover by my java pg to be export in a rtf file) Those specific characters are not interpreted correctly by iText and it display empty squares instead. (even if i use a BaseFont)
Instead of retrieving your data as a String from mySql, use getBytes.
Convert these bytes to a String using a String constructor that needs a charSet as parameter.
br,
Bruno
------------------------------------------------------- This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005 Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
