[swift-evolution] Pitch: Renaming CharacterSet to UnicodeScalarSet
erica at ericasadun.com
Wed Sep 28 18:06:25 CDT 2016
On Sep 28, 2016, at 3:58 PM, Xiaodi Wu <xiaodi.wu at gmail.com> wrote:
> Is this really correct? Character and UnicodeScalar are not synonyms. The Character type represents a character made up of one or more Unicode scalars (i.e. an extended grapheme cluster). Is a CharacterSet a set of Unicode-compliant characters that happens to be restricted to those characters each made up of only a single Unicode scalar, or is it meant to be a set of Unicode scalars? My read of the Foundation documentation is that it is the former.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution