@charset Rule
Sets the character set for an external style sheet.
Syntax
HTML @charset sCharacterSet Scripting N/A
Possible Values
sCharacterSet String that specifies the character set. The rule has no default value.
Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see dynamic properties.
Remarks
At most, you can use one @charsetin an external style sheet, and it must appear at the top of the file, not preceded by any characters. The @charset rule cannot be in an embedded style sheet.
Example
This example implements the @charset rule.
@charset "Windows-1251";
Did you find this topic useful? Suggestions for other topics? write us!
© 1999 microsoft corporation. all rights reserved. terms of use.