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

[c.mb.wcs] mbrtoc8 should generally be said to store code units #5001

Closed
hubert-reinterpretcast opened this issue Oct 5, 2021 · 0 comments · Fixed by #5054
Closed

[c.mb.wcs] mbrtoc8 should generally be said to store code units #5001

hubert-reinterpretcast opened this issue Oct 5, 2021 · 0 comments · Fixed by #5054
Assignees

Comments

@hubert-reinterpretcast
Copy link
Contributor

In [c.mb.wcs] paragraph 8 (describing the return value from calls to mbrtoc8), bullets 8.2 and 8.3 describe storing of a "value" (for a multibyte character) and a "next character". In both of these cases, what is being stored is a code unit. For 8.2, it is the first (or only) code unit associated with the UTF-8 representation of the multibyte character just consumed. For 8.3, it is a code unit that continues the sequence for a multibyte character consumed by a prior call.

@jensmaurer jensmaurer changed the title mbrtoc8 should generally be said to store code units [c.mb.wcs] mbrtoc8 should generally be said to store code units Oct 6, 2021
@jensmaurer jensmaurer self-assigned this Oct 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants