W3C home > Mailing lists > Public > www-validator@w3.org > September 2002

Re: Apostrophe Chokes XHTML Validator...

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Mon, 02 Sep 2002 05:52:42 +0200
To: csgallagher@metromilwaukee.com
Cc: <www-validator@w3.org>
Message-ID: <3ddbdfca.1596806185@smtp.bjoern.hoehrmann.de>

* CSGallagher wrote:
>The XHTML Validator at http//validator.w3.org/check/referer
>does not like apostrophes using either iso-8859-1 or 
>UTF-8 encoding. I have also tried to replace the literal 
>use of an apostrophe with the character entity &#39; 
>but to no avail.
>Oddly, the text matter using the apostrophes did not
>choke the validator until recently.

You are using U+2019 instead of U+0027 encoded in Windows-1252 instead
of ISO-8859-1 or UTF-8, this won't work. You can use &rsquo; or ' or
encode the &rsquo; in UTF-8 and the validator will stop complaining.
Received on Sunday, 1 September 2002 23:52:47 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:34 UTC