This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of New status.

3620. What are execution character sets and execution wide-character sets (after P2314R4)?

Section: 16.3.3.3.4.1 [character.seq.general] Status: New Submitter: Dawn Perchik Opened: 2021-10-17 Last modified: 2022-01-29

Priority: 3

View all issues with New status.

Discussion:

The definitions for execution character set and execution wide-character set were reworded and moved to 16.3.3.3.4.1 [character.seq.general]/p1.2 after applying CWG motion 10 "P2314R4 Character sets and encodings", but I can't figure out what these terms mean from the wording, which now reads:

"The execution character set and the execution wide-character set are supersets of the basic literal character set (5.3 [lex.charset]). The encodings of the execution character sets and the sets of additional elements (if any) are locale-specific."

Would it be possible to provide complete definitions for these and give examples of each?

[2022-01-29; Reflector poll]

Set priority to 3 after reflector poll. Should say something, even if just "unspecified". P1885R9 will expose the possible encoding programmatically, so could say it's implementationd-defined and implementations can document that you should ask std::text_encoding.

Proposed resolution: