N
Neal
This is an HTTP issue more than an HTML issue, but perhaps someone has the
answer.
I'm beginning a redesign. I'm doing a site over using php. Rather than
include an http-equiv meta, I am using the .htaccess to specify the header.
I've set:
AddType 'text/html; charset=UTF-8' .php
in the .htaccess in my root. A similar statement for .html routinely sends
the proper encoding, in all directories.
However, the document.php pages do not seem to carry an encoding.
The page in question is http://www.opro.org/new redesign/ - still a work
in progress, not finished, but comments on its rendering and look are
welcome if you're so motivated.
But my main question: how do I get the headers to send UTF-8 for my .php
files?
answer.
I'm beginning a redesign. I'm doing a site over using php. Rather than
include an http-equiv meta, I am using the .htaccess to specify the header.
I've set:
AddType 'text/html; charset=UTF-8' .php
in the .htaccess in my root. A similar statement for .html routinely sends
the proper encoding, in all directories.
However, the document.php pages do not seem to carry an encoding.
The page in question is http://www.opro.org/new redesign/ - still a work
in progress, not finished, but comments on its rendering and look are
welcome if you're so motivated.
But my main question: how do I get the headers to send UTF-8 for my .php
files?