Re: default value for @charset in CSS2

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 UTC