Ok, so I am fairly new to wordpress, but not web development. Anyway, I created a custom theme and all is well, except my “single” page(individual article view) doesn’t validate. I get the following message when I try to validate with W3C:
“Sorry, I am unable to validate this document because on line 100 it contained one or more bytes that I cannot interpret as utf-8 (in other words, the bytes found are not valid values in the specified Character Encoding). Please check both the content of the file and the character encoding indication.
The error was: utf8 “\x94″ does not map to Unicode”
The error goes away when I remove this function call:
<?php comments_template(); ?>
Which would be fine except I need that to receive comments.
Resolved: I’m not sure how that happened, but retyping that section seems to have fixed it. I use Notepad ++ to edit and the is the first time I have had a problem.
Oh well…Thanks for your help!!
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘“Single” page doesn’t validate’ is closed to new replies.
(@caestelle)
16 years, 4 months ago
Ok, so I am fairly new to wordpress, but not web development. Anyway, I created a custom theme and all is well, except my “single” page(individual article view) doesn’t validate. I get the following message when I try to validate with W3C:
“Sorry, I am unable to validate this document because on line 100 it contained one or more bytes that I cannot interpret as utf-8 (in other words, the bytes found are not valid values in the specified Character Encoding). Please check both the content of the file and the character encoding indication.
The error was: utf8 “\x94″ does not map to Unicode”
The error goes away when I remove this function call:
<?php comments_template(); ?>
Which would be fine except I need that to receive comments.
Here is an example post:
http://www.chrisestelle.com/blog/?p=13
Any ideas??
Any help is appreciated!! THANKS!! caestelle