News for hackers. Stuff that matters.
Re:Strings, bytes, runes and characters in Go by dchest on Thursday October 24, 2013 @04:41AM (#6604011)
Yes, there is: range on a string works on runes by decoding UTF-8.
Re:Strings, bytes, runes and characters in Go by dsymonds on Thursday October 24, 2013 @06:41PM (#6608533)
That has nothing to do with "a string's internal representation". That is just how a range loop is defined/implemented.