Hi, this is caused by characters codes below 0x20. Except for "\n" and "\t" which are special cases and add a line break or tab keyword, all characters below 0x20 are filtered and replaced by "?". If you don't want the "?" to appear, you need to filter those characters yourself.
Greetings, Mark On Tuesday 08 April 2008, Tri M. Phan wrote: > Hello, I just converted from iText 1.3.3 to 2.1.0 and came across the > following problem. > > I'm collecting text data from users, some data are entered through a HTML > text area and includes carriage returns entered by the user (i.e., an enter > key is performed between 2 paraphraphs). When the RTF document is > generated, a ? character is added to the document after where the carriage > return is rendered. This was not an issue for us under 1.3.3 but only > occurs in 2.1.0. Is there something additional that I need to do for this > iText upgrade? Thanks. > > Tri > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Register now and save $200. Hurry, offer ends at 11:59 p.m., > Monday, April 7! Use priority code J8TLD2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/java >one _______________________________________________ > iText-questions mailing list > iText-questions@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/itext-questions > > Do you like iText? > Buy the iText book: http://www.1t3xt.com/docs/book.php > Or leave a tip: https://tipit.to/itexttipjar -- All replies must be addressed to the mailing list. Any replies/questions not addressed to the mailing list will be ignored.
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Do you like iText? Buy the iText book: http://www.1t3xt.com/docs/book.php Or leave a tip: https://tipit.to/itexttipjar