[swift-evolution] [Accepted with revision] SE-0134: Rename two UTF8-related properties on String

Xiaodi Wu xiaodi.wu at gmail.com
Wed Jul 27 18:25:27 CDT 2016

One PR (well, two) coming asap!
On Wed, Jul 27, 2016 at 16:59 Chris Lattner via swift-evolution <
swift-evolution at swift.org> wrote:

> Proposal Link:
> https://github.com/apple/swift-evolution/blob/master/proposals/0134-rename-string-properties.md
> The review of "SE-0134: Rename two UTF8-related properties on String" ran
> from July 24…26. The proposal has been *accepted with revision*.
> This proposal has two parts.  The core team approves the first part:
> "Rename nulTerminatedUTF8CString to utf8CString”.  This property is
> intended for use when interoperating with APIs that take C-style “char *”
> parameters.
> For the second part, the proposal suggests "Rename nulTerminatedUTF8 to
> nullTerminatedUTF8.”  The core team discussed this, looked at various uses
> of the API (among code bases publicly available on github) and came to the
> conclusion that it is best to just remove this property outright.  The
> clients we found would be better served using the .utf8CString property.
> Thank you to Xiaodi Wu and Erica Sadun for driving this discussion
> forward!  Time is short, we’d appreciate it if someone could implement this
> -Chris Lattner
> Review Manager
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160727/684c2404/attachment.html>

More information about the swift-evolution mailing list