UTF-8 supported?

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 UTC