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>


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
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

Received on Sunday, 30 June 2002 14:01:56 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:40:37 UTC