Unicode Regular Expressions, Surrogate Points and UTF-8
markus.icu at gmail.com
Fri May 30 18:15:12 CDT 2014
If you use Unicode 16-bit strings, it's easy to "pass through" unpaired
surrogates and treat them like code points; it's often not productive or
necessary to check for them all the time, that is, to be strict about
On the other hand, I don't think anyone expects you to support invalid
UTF-8, and especially not to support any and all Unicode 8-bit strings (see
Unicode 3.9 Unicode Encoding Forms for what I mean here).
If you find UTS #18 unclear or misleading, I suggest you submit feedback
pointing out specific text issues.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Unicode