E2556 Invalid Universal Character Name '\%s' (C++)
Go Up to Compiler Errors And Warnings (C++) Index
Source code contains invalid universal-character-name (UCN).
An invalid UCN character is:
- outside of valid UNICODE code point (0 - 0xD7FF, 0xE000 - 0x10FFFF).
Characters between 0xD800 and 0xDFFF are reserved for a surrogate code point.
Example:
const char32_t c1 = U'\U3456789A'; // error: E2556 - 0x3456789A is outside of UNICODE.
const char32_t c2 = U'\U0000D801'; // error: E2556 - 0xD801 is not valid Unicode character.