Thanks a lot guys, I will download it from the SVN (I hope I remember how to do that...) and will test it out and post a response here. Sorry I couldn't respond earlier. I was off from work.
Paulo Soares wrote: > > That was fast! It would be nice if the OP could test it in the mainframe. > > Paulo > > ----- Original Message ----- > From: "Howard Shank" <[EMAIL PROTECTED]> > To: "Post all your questions about iText here" > <[email protected]> > Sent: Wednesday, August 06, 2008 8:31 PM > Subject: Re: [iText-questions] RTF/iText on the mainframe > > > SVN has been updated with the changes recommended by Paulo to support the > proper byte output. Hopefully it will produce the correct output now for > RTF > files. > > Regards, > Howard Shank > > > > ----- Original Message ---- > From: Howard Shank <[EMAIL PROTECTED]> > To: Post all your questions about iText here > <[email protected]> > Sent: Wednesday, August 6, 2008 10:45:54 AM > Subject: Re: [iText-questions] RTF/iText on the mainframe > > Then I guess I'll work on that sometime after the bills get paid. > > Howard > > > > ----- Original Message ---- > From: Paulo Soares <[EMAIL PROTECTED]> > To: Post all your questions about iText here > <[email protected]> > Sent: Wednesday, August 6, 2008 10:38:43 AM > Subject: Re: [iText-questions] RTF/iText on the mainframe > > > >> -----Original Message----- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On >> Behalf Of Howard Shank >> Sent: Wednesday, August 06, 2008 1:22 PM >> To: Post all your questions about iText here >> Subject: Re: [iText-questions] RTF/iText on the mainframe >> >> You need to make sure the file is created using the proper encoding. >> > > No. It's iText job to guarantee that the conversion from a String to a > byte[] is done using an explicit encoding and not rely on the machine > encoding. This is done in PDF but in RTF you have lots of: > > private static final byte[] ROW_CELL_SPACING_RIGHT = > "\\trspdr".getBytes(); > > This should be: > > private static final byte[] ROW_CELL_SPACING_RIGHT = > DocWriter.getISOBytes("\\trspdr"); > > Paulo > > > ------------------------------------------------------------------------- > 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 > > -- View this message in context: http://www.nabble.com/RTF-iText-on-the-mainframe-tp18839947p18881612.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
