[swift-evolution] [Accepted with revision] SE-0134: Rename two UTF8-related properties on String
clattner at apple.com
Wed Jul 27 22:51:21 CDT 2016
> On Jul 27, 2016, at 4:25 PM, Xiaodi Wu <xiaodi.wu at gmail.com> wrote:
> One PR (well, two) coming asap!
Awesome, thanks Xiaodi!
> On Wed, Jul 27, 2016 at 16:59 Chris Lattner via swift-evolution <swift-evolution at swift.org <mailto:swift-evolution at swift.org>> wrote:
> Proposal Link: https://github.com/apple/swift-evolution/blob/master/proposals/0134-rename-string-properties.md <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 ASAP.
> -Chris Lattner
> Review Manager
> swift-evolution mailing list
> swift-evolution at swift.org <mailto:swift-evolution at swift.org>
> https://lists.swift.org/mailman/listinfo/swift-evolution <https://lists.swift.org/mailman/listinfo/swift-evolution>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution