Re: fragid navigation and pct-encoded

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