Comment on Strings, bytes, runes and characters in GoparentComments−dchest12yYes, there is: range on a string works on runes by decoding UTF-8.−dsymonds12yThat has nothing to do with "a string's internal representation". That is just how a range loop is defined/implemented.
Comments
Yes, there is: range on a string works on runes by decoding UTF-8.
That has nothing to do with "a string's internal representation". That is just how a range loop is defined/implemented.