Apostrophe turning to question mark when using php handler in .htaccess
- by Tony Deefer
I have a .htm page on a site, that for reasons I won't go into cannot be renamed .php
I have added some php code to the top of the page, (sets a cookie and redirects to another page) and added the following to .htaccess to parse the .htm file as php
AddHandler application/x-httpd-php5 .html .htm
As soon as this is added to .htaccess all apostrophe's change into questions marks.
Using charset UTF-8
Can anyone offer a solution that does not involve renaming the file .php?
Many thanks