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:

  http://www.w3.org/TR/REC-CSS2/syndata.html#q23

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.

Erik
Received on Friday, 4 February 2000 15:50:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:03 GMT