Hi,cocoon-users I met a strange problem, I had two cocoon 1.8.2 product env, one is linux os, one is solaris os, And on solaris, the Cocoon.xml about charset is: Cocoon Formatters Default type = text/html text/html: HTML Formatter [ MIME type: text/html ] [ Doctype: -//W3C//DTD HTML 4.0//EN http://www.w3.org/TR/REC-html40/strict.dtd ] text/xhtml: XHTML Formatter [ MIME type: text/xhtml ] [ Doctype: -//W3C//DTD XHTML 1.0 Strict//EN xhtml1-strict.dtd ] and linux os , the Cocoon.xml Cocoon Formatters Default type = text/html text/html: HTML Formatter [ MIME type: text/html ] [ Encoding: UTF-8 ] [ Doctype: -//W3C//DTD HTML 4.0//EN http://www.w3.org/TR/REC-html40/strict.dtd ] text/xhtml: XHTML Formatter [ MIME type: text/xhtml ] [ Encoding: UTF-8 ] [ Doctype: -//W3C//DTD XHTML 1.0 Strict//EN xhtml1-strict.dtd ] The problem is: Under solaris , the html that Concoon provide is GB2312 Charset, but under linux , it's UTF-8 All of the env and config are same. How can I change the output html to GB2312 charset? I have tried a few method, include change the ENV LANG and LC_ALL, add the follow line to cocoon.properties "formatter.text/html.encoding = gb2312" then, the output html was changed to Unicode like follow: <td><a class="a3" href="http://www.test.com/index.xml"><font color="#FF6900"><b>欢迎提供新闻线索</b></font></a></td> How can I output GB2312 charset html under linux? Thanks for your help! cheenle [EMAIL PROTECTED] --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>