cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kane <k...@freebsd-uk.eu.org>
Subject Re: Re: Cocoon-1.8's charset encoding problems
Date Thu, 01 Jan 1970 00:00:00 GMT
Konstantin Piroumian:

I tried your and Donald's suggestion, they both can't work.
Any other methods?

Thanks

Regards,
Kane


 2000-10-20 11:31:00 д
>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
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
>For additional commands, e-mail: cocoon-users-help@xml.apache.org

                    


            Kane
            kane@freebsd-uk.eu.org

Mime
View raw message