Skip to content
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

WG21 P1859: Modern terminology updates #7

Closed
tahonermann opened this issue Apr 23, 2018 · 6 comments
Closed

WG21 P1859: Modern terminology updates #7

tahonermann opened this issue Apr 23, 2018 · 6 comments
Assignees
Labels
enhancement New feature or request WG21-tracked This issue is tracked as a WG21 github issue

Comments

@tahonermann
Copy link
Member

The C++ standard currently uses the term "character" to refer to both code units and code points and "character set" where character encoding is intended. The lack of proper terminology leads to defective interfaces (e.g., std::ctype<>::toupper). Future library additions for Unicode will depend on modern terminology for clear and correct specification.

@tahonermann tahonermann added the enhancement New feature or request label Apr 23, 2018
@cubbimew
Copy link

cubbimew commented May 2, 2018

"character set" where character encoding is intended

Does it really work for character sets? The ones described in [lex.charset] appear to be literally sets (of code points): "The basic source character set consists of 96 characters..."

If anything, the encoding would come up when the footnote under that says "an implementation is required to document how the basic source characters are represented in source files"

@tahonermann
Copy link
Member Author

Many of the existing uses of "character set" are appropriate. In some places, use of character encoding would be more correct or clear. In a few cases, the terms are used inconsistently. For example, http://eel.is/c++draft/locale.codecvt#3.

@tahonermann tahonermann added the paper needed A paper proposing a specific solution is needed label Aug 6, 2018
@tahonermann
Copy link
Member Author

P1859 now tracks this issue. R0 was discussed in Belfast. Now awaiting an updated paper.

@tahonermann tahonermann added paper revision needed An updated paper proposing a specific solution is needed and removed paper needed A paper proposing a specific solution is needed labels Nov 17, 2019
@tahonermann tahonermann added WG21-tracked This issue is tracked as a WG21 github issue and removed paper revision needed An updated paper proposing a specific solution is needed labels Mar 1, 2020
@tahonermann tahonermann changed the title Modern terminology updates WG21 P1859: Modern terminology updates Mar 1, 2020
@tahonermann
Copy link
Member Author

This issue is now tracked by cplusplus/papers#613.

@dimztimz
Copy link

dimztimz commented Nov 2, 2021

The readme should be edited and the paper should be moved to the section Inactive papers and noted that it got replaced. This issue should be closed.

@tahonermann
Copy link
Member Author

Agreed, thank you, @dimztimz! Done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request WG21-tracked This issue is tracked as a WG21 github issue
Development

No branches or pull requests

5 participants