W3C home > Mailing lists > Public > public-html@w3.org > July 2010

Re: i18n Polyglot Markup/NCRs (7th issue)

From: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
Date: Fri, 16 Jul 2010 23:41:51 +0400
To: Richard Ishida <ishida@w3.org>
Cc: public-html@w3.org, Eliot Graff <eliotgra@microsoft.com>, public-i18n-core@w3.org
Message-ID: <20100716234151569235.b2b9e8b6@xn--mlform-iua.no>
Leif Halvard Silli, Fri, 16 Jul 2010 01:54:22 +0400:
> Leif Halvard Silli, Fri, 16 Jul 2010 00:53:07 +0400:
>> Richard Ishida, Tue, 13 Jul 2010 20:40:24 +0100:
> 
>>> http://www.w3.org/International/reviews/1007-polyglot/
>> 
>> 	7th issue:	
>>  	]]
>>    8. Named Entity References	Named entity references	
>>    " For example, polyglot markup uses &#160; instead of &nbsp;. " 
>>    We would prefer your example to use the hexadecimal NER &#xA0; 
>> rather than the decimal. See 
>> http://www.w3.org/TR/2005/REC-charmod-20050215/#C048
>>    [[
>   [...]
>> 	I can agree that the Polyglot Markup spec should mention the 
>> hexadecimal _as well as_ the decimal. But I see no reason to not 
>> mention the decimal.
>> 	You may also want to consult bug 9300 [2]. It shows that if we want to 
>> create a maximum compatibility specification, then decimal NCRs are 
>> sometimes more IE compatible than hexadecimal ones are. 
> 
> Sorry. That was incorrect. That issue is only an issue whenever one is 
> not using the ";" - which is not an option in polyglot markup.

Updated info: Bug 9300 does not cover all issues with NCRs. It turns 
out that at IE6 *is*, in at least one context (inside an <object> 
element), more compatible with decimal NCRs than with hexadecimal NCRs. 
Try the 3 lines below in IE6 - only the first two will work. In the 
last line, the NCRs are rendered directly. I have not tested other 
versions of IE yet.

<object>זרו</object>
<object>&#230;&#248;&#229;</object>
<object>&#xe6;&#xf8;&#xe5;</object>
 
> [ snip ]
-- 
leif h silli
Received on Friday, 16 July 2010 19:42:45 UTC

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