C++ UTF-8 character literal

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(image)
 
Line 17: Line 17:
 
| conforms to    =  
 
| conforms to    =  
 
| released      =
 
| released      =
| image          =  
+
| image          = Characters.png
 
| caption        =  
 
| caption        =  
 
}}
 
}}

Latest revision as of 14:53, 28 May 2015

File Format
Name C++ UTF-8 character literal
Ontology

Characters.png

C++ UTF-8 character literal is a way to represent a single code point in UTF-8 that can be stored in char. It can legitimately be either an ASCII character from with the value 0–127 or C0 Controls Unicode block; if it falls outside of those allowed values, the program is considered to be malformed.

Character literal must use single quotes preceding with the letter u8 (For example u8'a').

[edit] External link

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox