Hello!
I have another problem with RTF. I need to create a new file that contains
some generated text and some text imported from another rtf file. There's a
problem with encoding. Newly generated file is generated using CP1252 code
page (is that any way to change it?). The imported document is encoded using
CP1250 and has some national characters (Polish). A the result, my output
file has incorrectly dispayed national chacrected (that from the imported
document).
How can I solve this problem? Is that any easy way to convert both documents
to the same codepage?
I import document using:
rtfWriter.importRtfDocument( new StringBufferInputStream(
stringReadFromTheExternalRTFFile ), null );
Best regards,
Adam Sas
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.1t3xt.com/docs/book.php