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

Re: default value for @charset in CSS2

From: Yung-Fong Tang <ftang@netscape.com>
Date: Fri, 4 Feb 2000 16:36:22 -0500 (EST)
Message-ID: <389B4653.4F7009DB@netscape.com>
To: Erik van der Poel <erik@netscape.com>
CC: www-style@w3.org, mozilla-i18n@mozilla.org, pierre@netscape.com, tao@netscape.com, bobj@netscape.com


Erik van der Poel wrote:

> 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

Yes, I know that section. But that section does not answer my question at
all. I send out my mail after I cannot find the answer from that section.


> 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

I favor default to UTF-8.
Received on Tuesday, 8 February 2000 12:23:02 GMT

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