You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Rob van der Zeijden <r....@tiscon.de> on 2000/11/03 14:36:45 UTC
output russian chars to pdf using FO
I am trying to output some russian chars to my pdf using FO.
Does anybody know how this should be done. My attempts
have failed so far.
Thanks
Re: output russian chars to pdf using FO
Posted by "Sergei O . Naumov" <na...@r-style.donpac.ru>.
Konstantin Piroumian wrote:
> Maybe somethings wrong with encoding?
> What's the exact problem?
> Does it generate something not readable or nothing at all?
>
> I didn't try that, but soon I will face the same problem.
> And I would try to solve the problem.
> Could you give some samples of your XML/XSL?
Re: output russian chars to pdf using FO
Posted by Konstantin Piroumian <KP...@flagship.ru>.
When generating HTML I use:
<xsp:logic>
response.setContentType("text/html; charset=windows-1251");
</xsp:logic>
Maybe something similar must be done in your case?
Or, try to add encoding in the formatting XSL.
Encoding can be set also in the <xsl:output method="html" encoding="..."/>
but this is not supported in Cocoon.
Please, let me know if you solve this problem.
----- Original Message -----
From: "Rob van der Zeijden" <r....@tiscon.de>
To: <co...@xml.apache.org>
Sent: 3 ?????? 2000 ?., ??????? 16:47
Subject: Re: output russian chars to pdf using FO
> Maybe somethings wrong with encoding?
> What's the exact problem?
> Does it generate something not readable or nothing at all?
Tried to output Zízala and got #í#ala back. There is something
wrong with encoding but how can I set this encoding. It probarly
uses the UTF-8 encoding. Tried to set this at the top of my xml file
but didn't seem to work: <?xml version="1.0" encoding="Cp1250"?>
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org
Re: output russian chars to pdf using FO
Posted by Rob van der Zeijden <r....@tiscon.de>.
> Maybe somethings wrong with encoding?
> What's the exact problem?
> Does it generate something not readable or nothing at all?
Tried to output Zízala and got #í#ala back. There is something
wrong with encoding but how can I set this encoding. It probarly
uses the UTF-8 encoding. Tried to set this at the top of my xml file
but didn't seem to work: <?xml version="1.0" encoding="Cp1250"?>
Re: output russian chars to pdf using FO
Posted by Konstantin Piroumian <KP...@flagship.ru>.
Maybe somethings wrong with encoding?
What's the exact problem?
Does it generate something not readable or nothing at all?
I didn't try that, but soon I will face the same problem.
And I would try to solve the problem.
Could you give some samples of your XML/XSL?
Regards,
Konstantin Piroumian.
>
> I am trying to output some russian chars to my pdf using FO.
> Does anybody know how this should be done. My attempts
> have failed so far.
>
>
> Thanks
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>