Thank you! I belive you solve my problem,I did set apache/jk2 for lotus domino last month in apache 4.1.29.My workmate advised me change cocoon servlet source code to solve the problem but I don't think it's a good idea.I will try your method right now!
hi roy

i had the same effect with cyrillic characters to display russian
language!

in effect, if i connect directly to tomcat on port 8080 everything runs ok, because tomcat and cocoon both don't set any encoding in the http-header. therefore the meta-tag in the html-page (set by cocoon-serializer) is used by the browser (ie/mozilla/safari on mac/win) to determine the encoding.


BUT if i connect to the site via apache/jk2, the browser is using iso-8859-1. this is because the http-header has no encoding set - apache sets then his standard-encoding of iso-8859-1.

to solve this problem quickly i set the apache-directive "AddDefaultCharset" in the apache-virtual-host to "UTF-8". this way apache adds the utf-8-encoding to the encoding-less http-headers of tomcat

the correct solution would be to tell cocoon to write the correct encoding in the http-header! but i have no idea how to do this - and i wonder that cocoon doesn't do it "out of the box"

greetings
stefan

_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to