FOP Encoding issue

Posted by Ravi chandra on Stack Overflow See other posts from Stack Overflow or by Ravi chandra
Published on 2010-05-27T06:35:27Z Indexed on 2010/05/27 6:41 UTC
Read the original article Hit count: 290

Filed under:

Hi Guys,

I have a similar issue.. I have HTML stored in DB clob. I am retrieving that and converting to XHTML using TIDY.jar.

Once i got XHTML then using FOP i am converting to XSL-FO. Finally XSL-FO is rendering in PDF.

Previously everything is working fine with Linux-WAS5-java1.4. Recently we migrated the apps to Linux-WAS6-Java1.5. Now XHTML to XSL-FO is messing up everything. XSL-FO contains ???(Question marks) in the place of Euro, spase(nbsp), Agrave, egrave ..etc.

I tried changing the JVM encoding to UTF-8 and also i have modified my servlet request and response to support UTF-8. I am helfless and unable to figure where exactly the issue is coming out. Can someone please check this and suggest me some solution. Thanks in advance

© Stack Overflow or respective owner

Related posts about fop