<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">On Sep 28, 2016, at 3:58 PM, Xiaodi Wu <<a href="mailto:xiaodi.wu@gmail.com" class="">xiaodi.wu@gmail.com</a>> wrote:<br class=""><div><blockquote type="cite" class=""><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">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.</div></div></blockquote><div><br class=""></div><div><a href="http://i.imgur.com/h6W5kYc.jpg" class="">http://i.imgur.com/h6W5kYc.jpg</a></div><div><br class=""></div><div><a href="http://i.imgur.com/q50PSld.jpg" class="">http://i.imgur.com/q50PSld.jpg</a></div><div><br class=""></div><div>-- E</div><div><br class=""></div><div><br class=""></div></div></body></html>