Skip to content

P2314 Character sets and encodings #998

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wg21bot opened this issue Feb 22, 2021 · 13 comments · Fixed by cplusplus/draft#5004
Closed

P2314 Character sets and encodings #998

wg21bot opened this issue Feb 22, 2021 · 13 comments · Fixed by cplusplus/draft#5004
Labels
C++23 Targeted at C++23 CWG Core plenary-approved Papers approved for inclusion in their target vehicle by plenary vote.
Milestone

Comments

@wg21bot
Copy link
Collaborator

wg21bot commented Feb 22, 2021

P2314R0 Character sets and encodings (Jens Maurer)

@wg21bot wg21bot added EWG Evolution SG16 Text processing labels Feb 22, 2021
@wg21bot wg21bot added this to the 2021-telecon milestone Feb 22, 2021
@tahonermann
Copy link
Collaborator

tahonermann commented Feb 22, 2021

This paper will be discussed in SG16's telecon scheduled for 2021-02-24.

@wg21bot
Copy link
Collaborator Author

wg21bot commented Mar 25, 2021

P2314R1 Character sets and encodings (Jens Maurer)

@tahonermann
Copy link
Collaborator

SG16 discussed this paper and a competing paper, P2297, during our February 24th, 2021, March 10th, 2021, and March 24th telecons. The following polls were conducted:

March 10th, 2021:

Poll: Introduce the concept of a 'translation character set' which synthesizes characters for unassigned UCS scalar values.

SF F N A SA
1 4 0 2 2
  • Attendance: 9
  • No consensus

March 24th, 2021:

Poll: Introduce the concept of a 'translation character set' which synthesizes characters for unassigned UCS scalar values.

SF F N A SA
2 4 1 0 1
  • Attendance: 9
  • Consensus in favor

Poll: Forward D2314R2 as presented on 2021-03-24 to EWG for inclusion in C++23.

SF F N A SA
3 5 0 0 0
  • Attendance: 9
  • Consensus in favor

Eight of the nine attendees were common across all of the polls.

Note that the first poll conducted during each of the March 10th and March 24th telecons polls the same question. The subsequent poll suggests that consensus on the question shifted, but I don't believe that is really the case. Rather, I believe that consensus for what the paper achieves is unanimous in SG16, but disagreement over wording details remain, and the shift suggested by the polls is due more to a desire not to hold up progress of the paper over those details than it is that opinions changed. Since the disagreements concern wording details that do not impact intended behavior (more on that below) and since wording details are more of a CWG concern than an SG16 concern, I'm comfortable forwarding this paper.

The wording disagreement concerns the introduction of the "translation character set" abstraction and perceived conflicts with Unicode terminology in its definition (the materialization of a "character" for unassigned UCS scalar values). Some SG16 participants would prefer that translation be specified directly in terms of ISO 10646 UCS scalar values both because that would avoid introducing the "translation character set" abstraction and because it more closely matches how real world implementations operate; compilers recognize characters by associated integer values. Proponents of the "translation character set" abstraction preferred that translation be specified in terms of "characters" rather than the integer values denoted by UCS scalar values since the former more closely matches how people think about lexing behavior (that we tend to think about lexing the character "A" as opposed to the integer value encoding of the character "A"). Proponents on both sides of the disagreement agreed that the desired behavior can be expressed either way; the concern is strictly about presentation within the standard.

Removing the SG16 label; this paper is ready for EWG review.

@AaronBallman
Copy link
Collaborator

(SG22 administrivia note: this paper needs to be added to the next WG14 omnibus paper in May)

@jfbastien
Copy link
Collaborator

See at the 2021-05-06 EWG telecon.

POLL:

Send P2314 to Electronic Polling, with the intent of going to Core for C++23.

SF F N A SA
5 6 0 0 0

@jfbastien jfbastien added the EWG-vote-on-me EWG can vote on this label May 11, 2021
@jensmaurer jensmaurer added LWG Library lwg-pending LWG Chair needs to disposition labels May 11, 2021
@wg21bot
Copy link
Collaborator Author

wg21bot commented May 21, 2021

P2314R2 Character sets and encodings (Jens Maurer)

@jfbastien
Copy link
Collaborator

EWG poll results from https://wg21.link/P1018R13

  • 🗳 Poll: Forward P2314r2 "Character sets and encodings" to Core for C++23.

Poll votes:

SF F N A SA
14 12 2 0 0


Poll outcome: ✅ consensus.

@jfbastien jfbastien added CWG Core and removed EWG Evolution EWG-vote-on-me EWG can vote on this labels Sep 8, 2021
@AaronBallman
Copy link
Collaborator

This paper was discussed at the Sep 2021 SG22 meeting and does not need to be seen by SG22 again.

@AaronBallman AaronBallman removed the SG22 C / C++ liaison label Sep 14, 2021
@jensmaurer
Copy link
Member

CWG 2021-09-14: Review started; will continue next time.

@JeffGarland JeffGarland added the C++23 Targeted at C++23 label Sep 18, 2021
@JeffGarland
Copy link
Member

JeffGarland commented Sep 18, 2021

The library changes (completely minor) were reviewed and approved at 2021-09-17 telecon. Removed the LWG label

https://wiki.edg.com/bin/view/Wg21telecons2021/P2314-20210917

poll: Library approves of the changes to the Library clauses (16, 27, and 28)

F A N
10 0 0

@JeffGarland JeffGarland removed LWG Library lwg-pending LWG Chair needs to disposition labels Sep 18, 2021
@wg21bot
Copy link
Collaborator Author

wg21bot commented Sep 20, 2021

P2314R3 Character sets and encodings (Jens Maurer)

@wg21bot
Copy link
Collaborator Author

wg21bot commented Oct 26, 2021

P2314R4 Character sets and encodings (Jens Maurer)

@wg21bot
Copy link
Collaborator Author

wg21bot commented Oct 26, 2021

Adopted 2021-10.

@jensmaurer jensmaurer added plenary-approved Papers approved for inclusion in their target vehicle by plenary vote. and removed straw-poll Straw poll labels Oct 26, 2021
@jensmaurer jensmaurer added this to CWG Jul 15, 2024
@jensmaurer jensmaurer moved this to Approved for plenary vote in CWG Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C++23 Targeted at C++23 CWG Core plenary-approved Papers approved for inclusion in their target vehicle by plenary vote.
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

6 participants