sg16-unicode / sg16

SG16 overview and general information
45 stars 5 forks source link

Distinguish between the compile-time and run-time character sets/encodings #45

Closed tahonermann closed 4 years ago

tahonermann commented 5 years ago

The standard uses the term "execution character set" ([lex.charset]p3) to refer to both the character set/encoding known at compile-time (sometimes informally referred to as the "presumed execution encoding") that is used to encode string literals ([lex.phases]p5) and the set of character sets/encodings known at run-time that is used by library functions and determined by locale settings .

The standard also refers to "extended characters" and "internal encoding" in translation phase 1 ([lex.phases]p1) without definitions.

tahonermann commented 4 years ago

Closing this issue as invalid. The standard actually only uses the term "execution character set" to refer to the compile-time encoding used to encode string literals. The run-time dependent locale is referred to as the "implementation's native character set" in 28.4.1.1 [locale.ctype] and 28.4.1.4 [locale.codecvt].