W3C home > Mailing lists > Public > www-style@w3.org > February 2000

Re: default value for @charset in CSS2

From: Erik van der Poel <erik@netscape.com>
Date: Fri, 04 Feb 2000 12:46:48 -0800
Message-ID: <389B3AB8.6874BF97@netscape.com>
To: Yung-Fong Tang <ftang@netscape.com>
CC: www-style@w3.org, mozilla-i18n@mozilla.org, pierre@netscape.com, tao@netscape.com, bobj@netscape.com
Yung-Fong Tang wrote:
> CSS2 define @charset to specify charset of the CSS file while it is
> stand along CSS file. Can someone tell me what is it's default value
> whiel this @charset is not present ? Assuming there are no HTTP and the
> data is neither UTF-16/UTF-32 nor EDBIC
> Is it UTF-8 ? ASCII ? or ISO-8859-1 ?
> Where does it specify ? URL ? sections in CSS2 spec.

See the following part of the CSS2 spec:


My opinion is that it is reasonable to default to whatever charset has
been set in the user's menu, which might be an auto-detector.

Received on Friday, 4 February 2000 15:50:36 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:53 UTC