Updated article: Handling character encodings in HTML and CSS
The paragraph about CSS encoding declarations in the “In a nutshell” section was changed from:
“Use the @charset rule for external style sheets (but not CSS in your HTML page) if you have non-ASCII content, such as font names, ids or class names, etc.”
to
“You can use @charset or HTTP headers to declare the encoding of your style sheet, but you only need to do so if your style sheet contains non-ASCII characters and, for some reason, you can’t rely on the encoding of the HTML and the associated style sheet to be the same.”
Update 3 June:
Additional changes were made throughout the page. In particular, lists of article content were removed to make it easier to keep the tutorial page up to date.
W3C® liability, trademark and permissive license rules apply.
Questions or comments? ishida@w3.org