Need reference to good ABNF for \uXXXX syntax
Markus Scherer
markus.icu at gmail.com
Wed Apr 14 12:43:51 CDT 2021
Hi Doug,
On Wed, Apr 14, 2021 at 6:45 AM Doug Ewell via Unicode <unicode at unicode.org>
wrote:
> Is anyone aware of an existing RFC or other specification that includes
> complete, correct, and clear ABNF for Unicode escape sequences using the
> UTF-16 encoding scheme?
> ...
> "Correct" implies, for instance, that the ABNF excludes unpaired
> surrogates.
>
I was looking for something, but all I can find is either loose about
surrogates (e.g., Java
<https://docs.oracle.com/javase/specs/jls/se7/html/jls-3.html>), or deals
in code points rather than UTF-16 code units.
Can you say why you want/need strict 16-bit escapes for well-formed UTF-16
code units, rather than what others are doing?
markus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://corp.unicode.org/pipermail/unicode/attachments/20210414/44c528d0/attachment.htm>
More information about the Unicode
mailing list