VAGNER Rodolphe wrote:
Hy, I try to use fop 0.20.5 in a jsp with tomcat.
When I transform FO I have this error :
org.apache.fop.apps.FOPException: Character conversion error:
"Unconvertible UTF-8 character beginning with 0xaa" (line number may be
too low)
null
Can someone help : I'd like to what can be wrong ? My FO ?
This sounds like a character encoding problem. It appears you generate the XML/FO as string and fed it to a parser (often a bad idea, but then, people go with what they know). The parser thinks the byte stream it gets consists of UTF-8 encoded characters, while the generator probably feeds ISO-8859-1 encoded characters. I never even thought of generating anything not directly delivered to a client with a JSP (because this is another bad idea, but I disgress), so I can't be of more help. Experiment with the XML declaration, using <?xml version="1.0" encoding="ISO-8859-1"?> might already solve your problem.
BTW encoding problems are VFAQs, just look into any recent XML book.
J.Pietschmann
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
