UTF-8 supported?


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