cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Piroumian" <KPiroum...@flagship.ru>
Subject Re: Cocoon-1.8's charset encoding problems
Date Fri, 20 Oct 2000 07:31:49 GMT
I am using Russian characters and to display them correctly I set the
content-type as this in my XSP file:
<xsp:logic>
// yourcharset = "windows-1251" or "GB2312"
   response.setContentType("text/html; charset=" + yourcharset);
</xsp:logic>

Regards,
  Kot.

----- Original Message -----
From: "Kane" <kane@freebsd-uk.eu.org>
To: <cocoon-users@xml.apache.org>
Sent: 20 октября 2000 г., пятница 11:24
Subject: Cocoon-1.8's charset encoding problems


> Hi,all:
>
>    We are using Cocoon-1.8 with Tomcat-4.0 to implement XML tranlation to
> HTML, and there are many Chinese characters(GB2312), but cocoon can't
process
> them correctly, all Chinese characters become "??" chars. Could you give
me
> some advices on how to correct it? I have tried to set
> <?xml version="1.0" encoding="GB2312"?>, and it can't work too.
>
> Thanks a lot.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>


Mime
View raw message