3 ms·
I like how Go handles this case by providing the utf8.DecodeRune/utf8.DecodeRuneInString functions which return each individual "rune" as well as the size in co
by waterside81 6y ago
I like how Go handles this case by providing the utf8.DecodeRune/utf8.DecodeRuneInString functions which return each individual "rune" as well as the size in code points.
Coming from python2, for me it was the first time I saw a language handle unicode so gracefully.