W3C home > Mailing lists > Public > public-html@w3.org > February 2009

Re: fragid navigation and pct-encoded

From: Julian Reschke <julian.reschke@gmx.de>
Date: Wed, 18 Feb 2009 17:17:53 +0100
Message-ID: <499C34B1.2020400@gmx.de>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
CC: "Roy T. Fielding" <fielding@gbiv.com>, HTML WG <public-html@w3.org>
Boris Zbarsky wrote:
> ...
> What Firefox is doing is the following:
> 
> 1)  During parsing, ids are converted from bytes to Unicode characters
>     using the document encoding.
> 2)  During parsing, names are converted from bytes to Unicode characters
>     using the document encoding.  For the <a> element the name is then
>     encoded as UTF-8, the resulting byte array has all %-escapes
>     replaced by the relevant bytes (as indicated by the escape), and
>     the resulting byte-array is converted to Unicode by assuming that
>     it's UTF-8.
 > ...

So @id and @name are handled differently? Why?

BR, Julian
Received on Wednesday, 18 February 2009 16:18:42 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:01 UTC