<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=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jan 27, 2016, at 7:52 PM, Darren Mo via swift-users &lt;<a href="mailto:swift-users@swift.org" class="">swift-users@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><font face="Menlo" style="font-size: 11px;" class="">"\r\n"</font> is a single <font face="Menlo" style="font-size: 11px;" class="">Character</font><font class="">.</font>&nbsp;Is this the correct behaviour?</div></div></blockquote><br class=""></div><div>Yes, a Character corresponds to a Unicode grapheme cluster, and "\r\n" is considered a single grapheme cluster.</div><div><br class=""></div><div>-Joe</div><br class=""></body></html>