|
Re: [enhydra] Problem with UTF-8: msg#00006java.enhydra.general
Hi Lofi, According to the old Director Connector implementation, encoding specified in contentType should be used for URI query parameters (just as new Director Connector with "useBodyEncodingForURI" parameter set on "true")! We have tested this feature on Enhydra Snapper (full text search framework) application and everything works fine (EE 6.3-1)! Only encoding addition which application contains is: public boolean run (HttpPresentationComms comms) throws HttpPresentationException { comms.response.setEncoding("UTF-8"); comms.request.getHttpServletRequest().setCharacterEncoding("UTF-8"); ... } implemented in basic PO object! Is your application working correctly when you are going trough Tomcat HTTP connector (directly - not trough Apache)? Regarding Apache reconfiguration: This is something that should be done via the AddCharset <http://httpd.apache.org/docs/mod/mod_mime.html#addcharset> (Apache 1.3.10 and later) or AddType <http://httpd.apache.org/docs/mod/mod_mime.html#addtype> directives, for directories or individual resources (files). With AddDefaultCharset <http://httpd.apache.org/docs-2.0/mod/core.html#adddefaultcharset> (Apache 1.3.12 and later), it is possible to set the default 'charset' for a whole server. Regards, Slobodan Vujasinovic Enhydra Development Team Lofi Dewanto wrote: Hi Slobodan, -- You receive this message as a subscriber of the enhydra@xxxxxxxxxxxxx mailing list. To unsubscribe: mailto:enhydra-unsubscribe@xxxxxxxxxxxxx For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [enhydra] Problem with UTF-8, Lofi Dewanto |
|---|---|
| Next by Date: | [enhydra] encrypt database password in web.xml, pwhitefield |
| Previous by Thread: | Re: [enhydra] Problem with UTF-8, Lofi Dewanto |
| Next by Thread: | [enhydra] encrypt database password in web.xml, pwhitefield |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |