Use a proper XML editor to create XML files and you won't have problems like that. Obviously, you create invalid XML files, probably with a normal text editor, right? But even if you use ISO-8859-1 you can use the same character references as shown in the links I gave you earlier.
On 07.06.2005 11:22:32 Lalitha Prasad wrote: > If the Charset is "UTF-8". I got the following exceptions: > > 1. "javax.servlet.ServletException: Invalid byte 1 of 1-byte UTF-8 > sequence." and > 2. "javax.servlet.ServletException: An invalid XML character (Unicode: 0x19) > was fou > nd in the element content of the document." > > I have changed the Charset from UTF-8 to ISO-8859-1. Now I cann't print some > Special Charactors on the PDF eventhough those characters are displaying in > HTML Interfaces. > > Please help me in this regard. We are using "Fop -xsl foo.xsl -xml foo.xml > -pdf foo.pdf" pattern forgenerating PDF files using FOP. > > Thanks in advance. > > Regards, > LALITH > > > > > > > > > >From: Jeremias Maerki <[EMAIL PROTECTED]> > >Reply-To: [email protected] > >To: [email protected] > >Subject: Re: FOP Supports Multiple Charset ? > >Date: Tue, 07 Jun 2005 10:22:37 +0200 > > > >We'd appreciate if you would post questions on FOP to the fop-user > >mailing list next time. Thank you. > > > >Since we have XML charsets are less of a problem today. I suggest you > >use UTF-8 as encoding for your XML documents so you have the full > >Unicode charset available to you which can map every character you will > >need. > > > >Please have a look at the following example FO file: > > > >examples/fo/basic/fonts.fo (in the FOP distribution) > >or > >http://cvs.apache.org/viewcvs.cgi/xml-fop/examples/fo/basic/fonts.fo?rev=1.3&view=markup > > > >Some additional info here: > >http://xml.apache.org/fop/fo.html#xml-special-chars > > > >On 07.06.2005 09:26:33 Lalitha Prasad wrote: > > > I need to print Special Charactors in PDF file. ie. Trade Marks and > >etc. > > > > > > Is it possible to print more than two Charsets usinf FOP?. > > > > > >Jeremias Maerki > > > > _________________________________________________________________ > Don�t just search. Find. Check out the new MSN Search! > http://search.msn.click-url.com/go/onm00200636ave/direct/01/ Jeremias Maerki
