# Constant UNICODE_VERSION

Source

    pub const UNICODE_VERSION: (u8, u8, u8);

🔬This is a nightly-only experimental API. (`unicode_internals`)
Expand description

The version of Unicode that the Unicode parts of `char` and `str` methods are based on.

New versions of Unicode are released regularly and subsequently all methods in the standard library depending on Unicode are updated. Therefore the behavior of some `char` and `str` methods and the value of this constant changes over time. This is not considered to be a breaking change.

The version numbering scheme is explained in Unicode 11.0 or later, Section 3.1 Versions of the Unicode Standard.