straightryder Posted September 24, 2010 Report Posted September 24, 2010 modified: (undefined) Server: Apache Size: 8614 Content-Type: text/html Encoding: utf-8 Sorry, I am unable to validate this document because on line 431 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 "\xCA" does not map to Unicode I went to check my google analytics for the site... and the report shows a mean looking exclamation mark "!" inside a triangle. I'm guessing the site is wha'; trashed? That's the error im getting for my Wordpress site. 10 mins prior to that it was fine... for the life of my i can't find the error in line 431... i've scanned it several time -- nadda. Can't find jack. So since i'm unable to get this validaited do i have to recode the whole site from scratch cause i was minutes away from launching it... just minutes away. I've never ran into this message before... Used a Strict DOC 1.0 for the site: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>/> <head> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>"/> <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> Quote
Andrea Posted September 24, 2010 Report Posted September 24, 2010 Add <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> to the head section and see if that helps any. Quote
Wickham Posted September 24, 2010 Report Posted September 24, 2010 That message often means that a character is OK with charset ISO-8859-1 but not with UTF-8. Try to identify which character is causing the trouble and replace with the character code from here:- http://www.tedmontgomery.com/tutorial/HTMLchrc.html It's often = or £ or & plus afew others. Quote
straightryder Posted September 24, 2010 Author Report Posted September 24, 2010 (edited) Fixed it... It was actually the google analytics that was causing the errors. Edited September 24, 2010 by straightryder Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.