CSS properties - @charset

revision:


@charset rule

- specifies the character encoding used in the style sheet.

The @charset rule must be the first element in the style sheet and not be preceded by any character.
If several @charset rules are defined, only the first one is used.
The @charset rule cannot be used inside a style attribute (on an HTML element), or inside the <style> element where the character set of the HTML page is relevant.

CSS syntax : @charset "charset";

Property values

charset : Specifies the character encoding to use

example
code:
                    @charset "UTF-8";