Make sure your servlet container doesn't add charset=ISO-8859-1 in HTTP header. Charset in meta tag only matters if no (or the same) charset is in HTTP header.
黄 海冬 wrote: > Hi,all: > I want to use Chinese chacter in the page and don't want it to be > encoded as someting like ⌗. > 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. > [EMAIL PROTECTED] or [EMAIL PROTECTED] > > _________________________________________________________________ > 享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Jaroslav Kuruc [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]