File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
22<html lang="en">
3- <!-- $Id: syndata.src,v 2.192 2013-05-02 12:11:38 bbos Exp $ -->
3+ <!-- $Id: syndata.src,v 2.193 2013-05-02 13:02:40 bbos Exp $ -->
44<head>
55<title>Syntax and basic data types</title>
66<!--script src="http://www.w3c-test.org/css/harness/annotate.js#CSS21_DEV" type="text/javascript" defer></script-->
@@ -1419,6 +1419,13 @@ class="index-inst">@charset</span> (see below)</li>
14191419<li>Assume UTF-8</li>
14201420</ol>
14211421
1422+ <p class=note>Note that it is not possible to use a 1-byte character
1423+ encoding and start the CSS file with the characters 255 and 254 in
1424+ either order, because the two characters will be interpreted as a
1425+ BOM. E.g., "ÿ" and "þ" in ISO-8859-1, "˙" and "ţ"
1426+ in ISO-8859-2, etc. Authors should start such files with something
1427+ else, e.g., a space.
1428+
14221429<p>Authors using an <span class="index-inst">@charset</span> rule must
14231430place the rule at the very beginning of the style sheet, preceded by
14241431no characters. (If a byte order mark is appropriate for the encoding
You can’t perform that action at this time.
0 commit comments