On Dec 20, 2011, at 1:32 PM, Jim Lucas wrote:
Don't know what I was thinking when asked this as I am well aware PHP
is server side and already rendered at the point of the W3C validator.
On 12/19/2011 6:44 PM, Rick Dwyer wrote:
When I set my page charset from iso-8859-1 to utf-8, when I run it
W3C validator, the validator returns an error that it can't
validate the page
because of an illegal character not covered by UTF-8.
"Sorry, I am unable to validate this document because on line 199
one or more bytes that I cannot interpret as utf-8(in other words,
found are not valid values in the specified Character Encoding).
both the content of the file and the character encoding indication.
The error was: utf8 "\x99" does not map to Unicode"
Line 199 is a line with my open PHP declaration:
Not sure why W3C is having a hard time with this. Any ideas?
You need to look at the output of your script, not the source for
The validation only happens after PHP has executed & processed the
and sent the output to the browser. It is the source in the browser
validation script sees.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php