View Full Version : PHP and character encoding
mxlabs
Jun 29th 2004, 12:07 am
I recently converted a html page to php, this page worked before the conversion but now does not validate using the w3c validator:
No Character Encoding Found! Falling back to UTF-8.
how do I set php character encoding?
digitalpoint
Jun 29th 2004, 12:19 am
Same as with HTML... just output something like:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
mxlabs
Jun 29th 2004, 12:26 am
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 :)
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.