You need to make sure the file is created using the proper encoding. 

Excerpt from specification:

This document specifies the format used by RTF
for text and graphics interchange. RTF uses ASCII (lower byte range – 7 bits)
or the ANSI, PC-8, Macintosh, or
IBM PC character sets to represent the formatting of a document.

Regards,
Howard Shank


----- Original Message ----
From: ek1975 <[EMAIL PROTECTED]>
To: [email protected]
Sent: Tuesday, August 5, 2008 5:05:02 PM
Subject: [iText-questions]  RTF/iText on the mainframe


We have been successfully creating PDFs on the mainframe. Now we want to
create an RTF file. We tried executing the HelloWord rtf program using iText
on Windows and it ran successfully. We migrated the same program to the
mainframe and compiled it there and we executed it. It executed without
abending, but the RTF file it produces isn't readable. It's simply a bunch
of junk characters. Our iText jar file version is 2.0.4 & JVM 1.4.2 on z/9

Is there something we have to do different for the mainframe? any specific
encoding scheme or something like that? Thanks for your time.
-- 
View this message in context: 
http://www.nabble.com/RTF-iText-on-the-mainframe-tp18839947p18839947.html
Sent from the iText - General mailing list archive at Nabble.com.


-------------------------------------------------------------------------
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



      


-------------------------------------------------------------------------
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

Reply via email to