4 Apr
2013
4 Apr
'13
11:21 a.m.
On Tuesday 02 April 2013, Sergey wrote:
HTTP/1.1 200 OK Date: Tue, 02 Apr 2013 12:19:55 GMT Server: Apache/2.2.22 (Unix) mod_perl/2.0.4 Perl/v5.12.5 Connection: close Content-Type: text/html; charset=utf-8
But it not works for users. :-( Firefox 17.0.4 and IE9 are not recognize it.
Strange but it works for some pages. I do not understand it...
I solved problem partially by adding to headers <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"> but I would like to solve the problem globally...
I seems what it changed all needed headers: perl -p -e 's#<HEAD>#<HEAD>\n<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">#;' -i web/*_header
And I remove charset from $HTMLCONTENTTYPE.
-- Regards, Sergey