<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Here's the standard where the character is defined. It refers '\0' as NUL most of the time but uses the word NULL as well ¯\_(ツ)_/¯.</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature"><a href="http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-048.pdf">http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-048.pdf</a></div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">I'm dubious about this.&nbsp;</div><div id="AppleMailSignature"><br><div>Daniel Duan</div>Sent from my iPhone</div><div><br>On Jul 23, 2016, at 2:24 PM, Nevin Brackett-Rozinsky &lt;<a href="mailto:nevin.brackettrozinsky@gmail.com">nevin.brackettrozinsky@gmail.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">And yet the *name* of the character is the “<a href="https://en.wikipedia.org/wiki/Null_character">null character</a>”, and a string that terminates in one is called a “<a href="https://en.wikipedia.org/wiki/Null-terminated_string">null-terminated string</a>”. Those are the terms of art, and I would not expect an abbreviation in this context.<div><br></div><div>+1 to the proposed change.<br><div><br></div><div>Nevin</div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jul 23, 2016 at 5:06 PM, Xiaodi Wu via swift-evolution <span dir="ltr">&lt;<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Jul 23, 2016 at 3:54 PM, Daniel Duan <span dir="ltr">&lt;<a href="mailto:daniel@duan.org" target="_blank">daniel@duan.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>In the context of character sets, "nul" is the correct name for the 0 value. "null" only makes sense when we are talking about pointer-like references.</div></div></blockquote><div><br></div><div>Oh, I see: "NUL-terminated" is a thing because "NUL" is the ASCII name. Still a little bizarre looking, though, especially if it's UTF8 rather than ASCII. I am less bothered by it now, thanks :)</div><div>&nbsp;</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div><br></div><div>This is my impression anyways.<br><br><div>Daniel Duan</div>Sent from my iPhone</div><div><div class="h5"><div><div><div><br>On Jul 23, 2016, at 1:41 PM, Xiaodi Wu via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">World's shortest proposal:<div><br></div><div><br></div><div><b>Introduction</b></div><div><br></div><div>In `String`, the methods `nulTerminatedUTF8` and `nulTerminatedUTF8CString` have the word "null" misspelled</div><div><br></div><div><b>Motivation</b></div><div><br></div><div>There is a typo</div><div><br></div><div><b>Proposed solution</b></div><div><br></div><div>Fix the typo</div><div><br></div><div><b>Impact on existing code</b></div><div><br></div><div>Emit a fix-it for existing code</div><div><br></div><div><b>Alternatives considered</b></div><div><br></div><div>Keep on spelling "nul" without the second "l"</div><div><br></div><div><b>Acknowledgments</b></div><div><br></div><div>Thanks to Andrew Trick for confirming that the existing spelling is bizarre</div><div><br></div></div>
</div></blockquote></div></div></div></div><span class=""><blockquote type="cite"><div><span>_______________________________________________</span><br><span>swift-evolution mailing list</span><br><span><a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a></span><br><span><a href="https://lists.swift.org/mailman/listinfo/swift-evolution" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a></span><br></div></blockquote></span></div></blockquote></div><br></div></div>
<br>_______________________________________________<br>
swift-evolution mailing list<br>
<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br>
<br></blockquote></div><br></div>
</div></blockquote></body></html>