Charset utf-8

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
help.
Can I fix that? Thanks.

Posted at Nginx Forum:

On Fri, May 25, 2012 at 8:05 AM, rihad [email protected] wrote:

I tried putting charset utf-8; or charset off; to nginx.conf, it didn’t
help.

Why not, have you checked the HTTP headers tat are sent? Have you
checked php.ini? Have you tryed setting headers through PHP’s header()
ot in meta-tags?


“On the internet, nobody knows you’re a dog.”

Have you tryed setting headers through PHP’s header()

Yes, thanks, it was set up deep in the framework I’m using. Thanks
again!

Posted at Nginx Forum: