W3C home > Mailing lists > Public > www-validator@w3.org > November 2004

Re: [VE][139] Error Message Feedback

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Sat, 6 Nov 2004 22:00:55 +0200 (EET)
To: William Malabry <william@alterdev.com>
Cc: www-validator@w3.org
Message-ID: <Pine.GSO.4.58.0411062155570.16565@korppi.cs.tut.fi>

On Fri, 5 Nov 2004, William Malabry wrote:

> I keep getting :
>
> Line 31, column 206: non SGML character number 146
>
> ....?begin=1&amp;begin_list=0">Willman, l��homme qui n€™a jamais sommeil</a></li>

Please post the URL in future. Snippets of code are seldom sufficient.

Using my crystal ball, I can see that you try to use the right single
quotation mark (also used as an apostrophe) and you have entered it as
octet 146 (decimal), which is the character's code in Windows Latin 1
(windows-1252). However your document's declared encoding is something
else, probably ISO-8859-1, in which octet 146 is undefined.

There are many different ways to solve the problem, and the choice depends
on the page and its real encoding. But a simple way that works
independently of encoding is to present the right single quotation mark
using the character reference &#8217;.

-- 
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
Received on Saturday, 6 November 2004 20:01:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:15 GMT