Clarify how string subscripting handles UTF-8.

This commit is contained in:
Bob Nystrom
2015-01-22 16:38:03 -08:00
parent a92e58c804
commit a5b00cebe7
8 changed files with 115 additions and 26 deletions
+3
View File
@@ -1,2 +1,5 @@
IO.print("".count) // expect: 0
IO.print("a string") // expect: a string
// Non-ASCII.
IO.print("A~¶Þॐஃ") // expect: A~¶Þॐஃ