C++ UTF-8 character literal

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{FormatInfo | name = C++ UTF-8 character literal | formattype = electronic | subcat = Data types | subcat2 = C++ data types | subcat3 = |...")
 
Line 24: Line 24:
  
 
Character literal must use single quotes preceding with the letter u8 (For example <code>u8'a'</code>).
 
Character literal must use single quotes preceding with the letter u8 (For example <code>u8'a'</code>).
 +
 +
==External link==
 +
* https://isocpp.org/files/papers/n4267.html
  
 
[[Category:Symbolic data types]]
 
[[Category:Symbolic data types]]
 
[[Category:Enumerable data types]]
 
[[Category:Enumerable data types]]
 
[[Category:C++17 data types]]
 
[[Category:C++17 data types]]

Revision as of 11:41, 11 May 2015

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

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').

External link

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox