I have my charset set in .htaccess, so that way my pages will validate as XHTML without having to declare in every header on every page.
I used to use:
AddType ‘text/html; charset=ISO-8859-1’ html
However, I tried to add php to that list, and it did not work.
So I did some more research and found this alternative:
However, I found someone’s post in a forum which said they contacted their hosting provider and got the following response, “We use the CGI version of PHP and some .htaccess changes won’t affect PHP files due to the order of processing.”
Is that probably what’s happening in my situation as well?
If so is there anything I can do? (Other than putting the charset into the header on every page.)