cpp/language/escape

Escape sequences are used to represent certain special characters within s and s.

The following escape sequences are available:

Range of universal character names
{{rrev|since=c++23|

Named universal character escapes
{{par|{{spar|n-char}}|a character from the {{rlp|charset#Translation character set|translation character set}}, except the right curly bracket {{c|}}} or new-line character}}

A universal character name of the syntax above is a named universal character. It designates the corresponding character in the Unicode Standard (chapter 4.8 Name) if the is equal to its character name or to one of its character name aliases of type “control”, “correction”, or “alternate”; otherwise, the program is ill-formed.

These aliases are listed in the Unicode Character Database’s NameAliases.txt. None of these names or aliases have leading or trailing spaces. }}