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

Split surrogate into lead and trail #557

Merged
merged 2 commits into from
Apr 5, 2023
Merged

Split surrogate into lead and trail #557

merged 2 commits into from
Apr 5, 2023

Conversation

annevk
Copy link
Member

@annevk annevk commented Apr 4, 2023

For the Encoding Standard.


Preview | Diff

For the Encoding Standard.
infra.bs Outdated
@@ -803,9 +803,14 @@ to as "U+0029 RIGHT PARENTHESIS", because even though it renders, this avoids un
<p><a>Code points</a> are sometimes referred to as <a>characters</a> and in certain contexts are
prefixed with "0x" rather than "U+".

<p>A <dfn export>surrogate</dfn> is a <a>code point</a> that is in the range U+D800 to U+DFFF,
<p>A <dfn export>lead surrogate</dfn> is a <a>code point</a> that is in the range U+D800 to U+DBFF,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be "leading" or "high": https://www.unicode.org/glossary/#leading_surrogate

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting, the macros in ICU use "lead" and "trail".

infra.bs Outdated
inclusive.

<p>A <dfn export>trail surrogate</dfn> is a <a>code point</a> that is in the range U+DC00 to U+DFFF,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@annevk annevk requested a review from domenic April 5, 2023 06:40
@annevk annevk merged commit 0dba3a2 into main Apr 5, 2023
@annevk annevk deleted the annevk/surrogate branch April 5, 2023 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants