Can nginx override encoding of Tomcat back end?

John Moore grails at jmsd.co.uk
Fri Nov 25 15:24:18 UTC 2011


On 25/11/11 15:16, Igor Sysoev wrote:
>
> You can try this, but nginx will scan response body with ISO-8859-1
> trying to convert it to utf-8:
>
> http {
>      charset_map  iso-8859-1 utf-8 {}
>
>      server {
>          charset           utf-8;
>          override_charset  on;
>
>    
Thanks Igor. I tried this, but it's still leaving the encoding as 
ISO-8859-1 (as reported under Page Info in Firefox). This is 0.6.32 on 
Windows - I don't know whether a more recent version would help?

JM



More information about the nginx mailing list