<div dir="ltr"><div>Hi Doug,</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 14, 2021 at 6:45 AM Doug Ewell via Unicode <<a href="mailto:unicode@unicode.org">unicode@unicode.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">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?<br>
...<br>
"Correct" implies, for instance, that the ABNF excludes unpaired surrogates.<br></blockquote><div><br></div><div>I was looking for something, but all I can find is either loose about surrogates (e.g., <a href="https://docs.oracle.com/javase/specs/jls/se7/html/jls-3.html">Java</a>), or deals in code points rather than UTF-16 code units.</div><div><br></div><div>Can you say why you want/need strict 16-bit escapes for well-formed UTF-16 code units, rather than what others are doing?</div><div><br></div><div>markus</div></div></div>