You have configured another charset in your apache configuration. Maybe your php are proccessed with ISO-8859-1 and you are defining in your HTML UTF-8. That's an inconsistency. Try to define UTF-8 in your apache configuration.
I found the answer. The PHP files were saved with different encoding, the one which behaved OK was UTF8, the problem one was Windows-1252. I use Bluefish and it all looked OK in there, but cat the file and I could see the odd character.
Thanks for your help
Asked in February 2016Viewed 3,881 timesVoted 8Answered 2 times