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: Mon, 16 Aug 2010 16:06:43 +0200
Message-ID: <4C6945F3.6010200@bittersmann.de>
To: www-international@w3.org
Picking some more nits in “Using character escapes in markup and CSS”:

> 3) http://www.w3.org/International/questions/qa-escapes.en.php#cssescapes
>
> Proposal: Add the advice to always close NCRs in CSS with a trailing space.

If so, make '.\E9 motion' the first example, followed by '.\E9motion' 
and '.\0000E9motion'.

Stick to the same word, either "émotion" or "édition".


http://www.w3.org/International/questions/qa-escapes.en.php#not

Above the examples in Czech it says:
“It is almost always preferable to use an encoding that allows you to 
represent characters in their normal form, rather than using character 
entity references or NCRs.”

Just below the examples in Czech it says:
“It is much better to use an encoding that allows you to represent the 
characters in their normal form.”

This is a unnecessary duplication of content, IMHO.


(The note about NBSP looking like a space but preventing a line wrap 
also appers twice, but in places far away from each other.)


Further down:
“If you use HTML-defined character entity references  (such as &aacute;) 
to represent characters in XHTML, you should take care any time your 
content is processed using XML tools, or converted to XML.”

Hm, “converted to XML” might sound as if XHTML was not XML.


http://www.w3.org/International/questions/qa-escapes.en.php#use

“Note, however, that, although it is part of the XML language, &apos; is 
not defined in HTML 4.01. For this reason the XHTML specification 
recommends instead the use of &#39; if text may be passed to an HTML 
user agent. In addition, some browsers do not support &apos; in HTML.”

“In addition”? It seems to be out of place to me since it is the same 
reason as previously mentioned. How about:

Note, however, that, although it is part of the XML language, &apos; is 
not defined in HTML 4.01. For this reason the XHTML specification 
recommends instead the use of &#39; if text may be passed to an HTML 
user agent. Some browsers do not support &apos; in HTML.


Typography:

Don’t use hyphens for dashes, but U+2013 en dash. It should be safe to 
replace any occurence of " - " with " – " (space, en dash, space).

Regards,
Gunnar
Received on Monday, 16 August 2010 14:07:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 16 August 2010 14:07:15 GMT