OT: This Swift thing
Terry Reedy
tjreedy at udel.edu
Wed Jun 4 00:42:02 EDT 2014
On 6/3/2014 10:21 PM, Chris Angelico wrote:
>> https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/Swift_Programming_Language/StringsAndCharacters.html
>
> Yeah, I was looking at the same page. Note how, further down, a syntax
> is given for non-BMP character entities (the same as Python's), and
> then a bit more down the page, iteration over a string is defined,
> with a non-BMP character in the example string. That's a good start.
> However, keep going down... and you find that the length of a string
> is calculated by iteration, which is a bad sign. I don't see anything
> about indexing, which is the most important part.
I believe go uses utf-8 and the above might indicate that of swift.
--
Terry Jan Reedy
More information about the Python-list
mailing list