W3C home > Mailing lists > Public > www-validator-css@w3.org > June 2002

UTF-8 supported?

From: Christoph Schneegans <Christoph@Schneegans.de>
Date: Sun, 30 Jun 2002 18:00:23 GMT
To: <www-validator-css@w3.org>
Message-ID: <afno0n.2es.1@mail.christoph.schneegans.de>

Hello!

The CSS Validator shows some odd behaviour in conjunction with UTF-8:

1. <http://schneegans.de/temp/css/utf8-stylesheet> contains an umlaut
"", encoded in UTF-8. The stylesheet is labeled as "text/css;
charset=utf-8" and also uses the a '@charset "utf-8";' rule.

The output of the CSS Validator
(<http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fschneegans.de%2Ftemp%2Fcss%2Futf8-stylesheet&warning=1&profile=css2>) 
contains an UTF-8 encoded "", too, but the encoding is not declared 
anywhere. It's an XHTML document, but served as "text/html", so most 
user agents will render it using ISO-8859-1.

2. <http://schneegans.de/temp/css/corrupt-utf8-stylesheet> is served as
UTF-8, but actually encoded in ISO-8859-1. The validator doesn't
complain about the illegal byte sequence.

Is UTF-8 supported at all?


Best regards,
Christoph Schneegans

-- 
<http://schneegans.de/>
Received on Sunday, 30 June 2002 14:01:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:11 GMT