Sent by David Leader on 4 September 2004 08:08
Bruce asked about a program to 'fix' smart quotes to provide valid
HTML characters. The answers he got told him how to turn off smart
quotes in Word (ugh!) or search and replace them by dumb quotes.
However, as this list is about practical aspects of 'style', why not
give your pages some style? Use your word-processor's tools to
'find' the word-processing versions (platform-specific - bad, bad,
bad) of the characters in question and 'replace' them by the html
character entities for smart (curly) quotes before putting them into
your html editor. You use curly commas, don't you? The following are
all valid html 4.01:
Left double quotation mark; “
Right double quotation mark; ”
Left single quotation mark; ‘
Right single quotation mark; ’
....and for real typographic style:
'en dash' –
'em dash' —
You can find the full list off character entities that should be
supported in html 4.01 (and hence xhtml) at
<http://www.w3.org/TR/html4/sgml/entities.html>
(see section 24.4.1)
David
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/