icecream
icecream

Reputation: 11

nginx change default charset

I set charset utf-8; at http tag, but error.log given: 2012/08/22 10:47:33 [error] 6588#1560: *1 no "charset_map" between the charsets "GB2312" and "utf-8" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /index2.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000".... Any idea? I want set default language to utf-8 only.

Upvotes: 0

Views: 5361

Answers (1)

cobaco
cobaco

Reputation: 10546

From the error you gave it would seem that your fastcgi-app is passing gb2312 encoded text to nginx. So either:

Upvotes: 1

Related Questions