Hacker News new | ask | show | jobs
by waterside81 1910 days 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.