Re: [bp-i18n-specdev] Consider creating a rule regarding rejecting invalid surrogate pairs (#10)

Suggestion: 

A "surrogate code point" refers here to the use of code points in the range U+D800 through U+DFF, inclusive. These code points only exist to allow the UTF-16 encoding to address supplementary characters, and are always used in pairs.  A single  surrogate code point is referred to as an "unpaired surrogate" and should never be used.

I'm not sure it needs to be in a note.  It's just an explanation like many others of a piece of mustard.

I think it would also improve understanding (since the explanation is not always alongside the mustard) to change the guideline to say:

Specifications MUST NOT allow the use of unpaired surrogate code point.


-- 
GitHub Notification of comment by r12a
Please view or discuss this issue at https://github.com/w3c/bp-i18n-specdev/issues/10#issuecomment-1121032031 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 9 May 2022 12:24:53 UTC