|
|
|
|
|
by lars512
5519 days ago
|
|
Having done a lot of CJK development, I felt that Go's unicode strings were pretty kludgey last time I looked. Go's strings are all utf8, so unless you're working in its ASCII subset alone, you have to manually iterate over multi-byte runes to get the unicode codepoints out. That's really not what I'd call a friendly unicode handling comparable to scripting languages, or even Java. Please correct if things have changed. I haven't revisited Go for a little while now, and would be very interested as to any updates to its unicode handling. |
|
While this is all not intuitive (you have to know what does what), I find it rather easy.