You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Jignesh-NX01880 Kapadia <Ji...@us.michelin.com> on 2003/10/21 20:00:49 UTC

Regarding special characters 10/21

Hi,

I am posting this question again .  I am explaining in detail whats happening we
have an input xml file which has encoding of "ISO-8859-1". They are coming from
some other application.
at some places they have some text with special french  characters like as
follows.
1)
"Pneu dA'hiver conA§u pour VTU et camionnettes"  One job reads this .xml and
stores that value in oracle database. This database has an encoding type of
UTF-8. Before adding above value in database it is converted in to UTF-8. 

2)
In database it is appears as follows.

"Pneu d¿hiver conçu pour VTU et camionnettes"


3)
our application reads this value from tables and forms and XML with encoding
type of ISO-8859-1.

This formed .XML file is being used by FOP to generate .PDF. In the output of
.PDF the above text appears as follows.

    "Pneu d#hiver conçu pour VTU et camionnettes"


                      The font family we are using is  ZapfDingbats.   I tried
replacing this by other fonr families. but the result is the same. I know that
the pound sign is appearing because there is no glyph for the above character
thats why it is appearing like this. 

In first part I tried to replace the special character " A' " by something else
but java is not able to identify this character. can anybody help how to get a
proper output in .PDF using FOP of above text. 

I know I am asking this question 3rd time. but I tried many options . But they
did not work
Thanks and Regards,

Jignesh

 

 




---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org