On 6/3/2014 10:21 PM, Chris Angelico wrote:


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


Reply via email to