CSS Charsets is a module of CSS that lets you specify the character set used in the style sheet.
Reference
At-rules
Specifications
Specification | Status | Comment |
---|---|---|
CSS Level 2 (Revision 1) The definition of '@charset' in that specification. |
Recommendation | Initial definition |
Browser compatibility
@charset
rule
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
@charset | Chrome Full support 2 | Edge Full support 12 | Firefox
Full support
1.5
| IE
Full support
5.5
| Opera Full support 9 | Safari Full support 4 | WebView Android Full support 2 | Chrome Android Full support 18 | Firefox Android Full support 4 | Opera Android Full support 10.1 | Safari iOS Full support 4 | Samsung Internet Android Full support 1.0 |
Legend
- Full support
- Full support
- See implementation notes.
- See implementation notes.