cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gou...@osmosis.gr
Subject Re: How can I make IE display html in auto encoding utf-8?
Date Thu, 12 Feb 2004 08:26:26 GMT
we have to setup the default encoding in our web server (apache)
to be set the encoding of ie automaticly

i dont know if this is the only somlution,but it's work

--stavros 



On Wed, 11 Feb 2004, [gb2312] »Ζ Ί£Ά¬ wrote:

> Hi,all:
>     I want to use Chinese chacter in the page and don't want it to be encoded as someting
like &#8983.
> So I change configurations in web.xml:
>    <init-param>
>    <param-name>container-encoding</param-name>
>    <param-value>utf-8</param-value>
>    </init-param>
>    <init-param>
>    <param-name>form-encoding</param-name>
>    <param-value>utf-8</param-value>
>    </init-param>
> and I also change HTMLSerializer config in root sitemap.
>     <map:serializer logger="sitemap.serializer.html" mime-type="text/html" name="html"
pool-grow="4" pool-max="32" pool-min="4"
> src="org.apache.cocoon.serialization.HTMLSerializer"> 
>     <encoding>utf-8</encoding>
>     </map:serializer>
> Now I can see Chinese in the page,but IE still auto encode it with iso-8859-1,
> I must change the encoding to "unicode" manully.How can I make IE auto select
> encoding in "unicode"?
> the html generated list here:
> <html>
> <head>
> <META http-equiv="Content-Type" content="text/html; charset=utf-8">
> Thanks in advance.
>  
> roy huang
> guangzhou guangdong China.
> roy_huang@nbmgroup.com or lingererhuang@hotmail.com  
> 
> __________________________________________________________________________________________________________________________________________________________________________
> ΚΉΣΓ MSN Messenger ΣλΑͺ»ϊ΅ΔΕσΣΡ½ψΠΠ½»Αχ ---------------------------------------------------------------------
To unsubscribe, e-mail:
> users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message