I recently converted a html page to php, this page worked before the conversion but now does not validate using the w3c validator: how do I set php character encoding?
Same as with HTML... just output something like: <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> Code (markup):
I did have that line in my php file... it was an issue with an included script, turned out that it had to be included after the html character encoding. thanks anyway