Re: Curly Quotes and HTML

Arnoud (galactus@htmlhelp.com)
Mon, 30 Dec 1996 20:35:10 +0100


From: galactus@htmlhelp.com (Arnoud "Galactus" Engelfriet)
To: www-html@www10.w3.org
Subject: Re: Curly Quotes and HTML
Date: Mon, 30 Dec 1996 20:35:10 +0100
Message-ID: <ulByy4uYO93b089yn@htmlhelp.com>

-----BEGIN PGP SIGNED MESSAGE-----

In article <199612301453.AA159957636@lhrsys20.lhr-sys.DHL.COM>,
Andre Mas <amas@lhr-sys.DHL.COM> wrote:
> What should I do if I want these curly quotes. Am
> I supposed to use plain quotes and leave it up to the browser to do
> the necessary work?

You can use the &quot; entity - a browser can pick 'curly quotes'
to display those (properly nested even), assuming it is advanced
enough.

> Also, is there a tag that indicates what character set is being used
> in the document?

This is done in the Content-Type header:

Content-Type: text/html; charset=iso-8859-1

would suggest a ISO Latin 1 character set (the default, by the way).
Some browsers also accept this in a META tag:

<META HTTP-EQUIV=content-type CONTENT="text/html;
charset=iso-8859-1">

Galactus

- -- 
E-mail: galactus@htmlhelp.com .................... PGP Key: 512/63B0E665
Maintainer of WDG's HTML reference: <http://www.htmlhelp.com/reference/>


-----END PGP SIGNED MESSAGE-----