HTML, XHTML validation error - can't resolve

I have been trying to validate my web page for the last two hours, I only have one error remaining before it is successfully validated but I keep on getting the character decoding problem, I cannot get round it.....

The whole document is fine except it says...

Sorry, I am unable to validate this document because on line 77 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 "\x85" does not map to Unicode

The only thing on line 77 is some text inside some <p> tags, I have tried changing them to <a>, or <span> and taking the <p> away so it is just loose inside the div but the error only goes away when I delete the text inside the tags.

I am using the utf-8 encoding:

<meta http-equiv="Content-type" content="text/html;charset=utf-8" />

I am sorry if this is simple to resolve, my knowledge is extremely basic, I am only a first year computing student.

EDIT: the text inside the <p> tags are as follows:

      <p>Our team thrives on the latest political news as we do you. We work around the clock to bring you the latest, most important news as soon as it happens. What do we ask in return… nothing! This site is funded by us! Your satisfaction is as much a pay packet to us then a wad of untraceable counterfeit notes.<br/><br/>      Sign up to our newsletter to get regular updates on news as soon as it happens without having to navigate to our site. For your security we only sell the details you input to our site to companies who “pinky promise” they won’t be naughty with them.<br/><br/>      StudentPolitics.Now – Trading in satisfying others since 2011</p>


Save your document in a UTF format. If it already is, try copy-paste the source code to a new file and save it in UTF format (sometimes it can get stuck during edits in some programs).

What editor are you using?


<strong>EDIT</strong>: There are some non-standard characters in your text: (three dots in a single character, “” (curly braces), (curly apostrophe), (dash).

I guess you've copied your text from Word or a similar text processor, I get that often too. Either change those characters to their ASCII counterparts or HTML entities or be sure to save the file with UTF encoding.


The problem is that the document only <strong>claims</strong> to be UTF-8 but isn't really.

Configure your editor to save in that format (the W3C has a guide for a number of them).

If you modify the HTML programatically, then check the program (and/or database if one is in play) aren't munging the data or storing non-UTF-8 data.

If that doesn't work, then try deleting the text and retyping it. You might have a zero width character that can't be represented properly in there.


validator did not like the three full stops after the word "return" three full stops after one another must mean something else...

Thank you for all your help guys.


Sometimes when you generate query from a database the encoding of the characters may not be UTF-8 in that case you should make sure that the values returned in the queries match UTF-8, also sometimes when making a substring you can cut a character in Spanish as tildes and las ñ and to show incomplete the character.

For example check the source code in your browser

<img src=https://www.e-learn.cn/content/wangluowenzhang/"https://i.stack.imgur.com/Lzp4X.png" alt="enter image description here">


  • Is it a bad practice to rely on local objects get destructed in the reverse order of construction in
  • Feature Event Handler called multiple times for Farm level feature - sharepoint 2007
  • Kahan summation algorithm has big computing error when it is compiled by GCC
  • How does sizeof work for int types?
  • finding maximum depth of chapter
  • JAR doesn't work with Absolute Layout
  • Using Google Api: Speech To Text on PC Version
  • Linked tables and Slicer in excel
  • Tracking screen recorder in windows app
  • How to lookup value with multiple criteria in excel 2007 and newer
  • What's the name of this finding square root algorithm?
  • PHP multiple file uploads
  • Why isn't my “Fizz Buzz” test in R working?
  • Python PIL to extract number from image
  • Javascript/Jquery runs fast in desktop browsers, but slow in mobile/smartphone browsers…should I spl
  • CodeIgniter URI Parameter is partially bypassing an “if” statement
  • JQuery .html() remove line break on IE 8
  • git add error : “fatal : malloc, out of memory”
  • How to create CGPath from a SKSpriteNode in SWIFT
  • opencv display image without x server
  • Switch to popup in python using selenium
  • Redirect to Post Method/Action
  • Javascript, Regex - I need to grab each section of a string contained in brackets
  • Who propagate bugfixes across branches (corporate development)?
  • Invalid Date on validation Date of js
  • Is it possible to open regedit and navigate to straight to a specific key using process.start?
  • Adding elements to a huge XML file
  • MySQL Order by column = x, column asc?
  • Blackberry - Custom EditField Cursor
  • Android full screen on only one activity?
  • Django: Count of Group Elements
  • The plugin 'org.apache.maven.plugins:maven-jboss-as-plugin' does not exist or no valid ver
  • Fetching methods from BroadcastReceiver to update UI
  • TFS: Get latest causes slow project reloading
  • Can I have the cursor start on a particular column by default in jqgrid's edit mode?
  • Updated Ionic CLI but shows previous version (Windows)
  • Symfony2: How to get request parameter
  • jQuery tmpl and DataLink beta
  • GridView Sorting works once only
  • WPF Applying a trigger on binding failure