W3C home > Mailing lists > Public > www-international@w3.org > July to September 2010

Re: For review: 6 new and 2 updated articles about character encoding

From: Gunnar Bittersmann <gunnar@bittersmann.de>
Date: Tue, 17 Aug 2010 00:11:46 +0200
Message-ID: <4C69B7A2.1080404@bittersmann.de>
To: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
CC: www-international@w3.org
Leif Halvard Silli scripsit (2010-08-16 22:52+02:00):
> You don't say why one should advice to always close CSS character
> escapes with a space.

If one always closes CSS character escapes with a space, one does not 
have to think about whether the space may be left out or not.

'.\E9 motion': the space may be left out: '.\E9motion'.
'.\E9 dition': the space must not be left out ('.\E9dition' would be the 
same as '.\E9D ition')

Now I get it why Richard uses émotion vs. édition.

I would do it the other way around: Introduce CSS escapes beginning with 
'\' and ending with space, then mention that under certain circumstances 
the space may be omitted but sould not.

(Analog to HTML escapes beginning with '&' and ending with ';', under 
certain circumstances the ';' may be omitted but should not.)


PS: Maybe it was not the best idea to give the space different meanings 
in CSS: descendant combinator 'foo bar'; escape delimiter; just space 
'foo + bar { baz: quz }'.
Received on Monday, 16 August 2010 22:12:17 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:40:58 UTC