That is hard-coded value at this time. Since I've only recently taken over the
RTF support, I do not know what the impact would be to changing it. I can make
the value a settable field as soon as I have some time.
Regards,
Howard Shank
----- Original Message ----
From: Adam Sas <[EMAIL PROTECTED]>
To: itext-questions <[email protected]>
Sent: Monday, August 25, 2008 10:34:06 AM
Subject: [iText-questions] Codepage problems in RTF
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