charset utf-8

rihad nginx-forum at
Fri May 25 07:05:15 UTC 2012

Hi guys, I'm using nginx 1.2 with php-fpm (php 5.3.11). The problem is,
the PHP page is delivered as 
Content-Type: text/html; charset: Windows-1251

I want the charset UTF-8, or at least none at all.
I tried putting charset utf-8; or charset off; to nginx.conf, it didn't
Can I fix that? Thanks.

Posted at Nginx Forum:,226822,226822#msg-226822

More information about the nginx mailing list