Joined May 2013
·
9b689cc1d73c4f1e7378d045a54abcca

Herman Schaaf

Software Engineer at Gengo
Software Engineer
Gengo
·
Tokyo, Japan
·
·
·

Posted to Dealing with Unicode in Go over 1 year ago

@unnali I wanted to leave the impression that you can never be too sure what you're going to get in a string, so I'm glad to hear it was unsettling :)

Posted to Dealing with Unicode in Go over 1 year ago

@cthom06 Yeah, you're right, even the utf8 package itself is like a very thin abstraction layer for using strings as []rune. Putting Unicode in strings and assuming the best is an easy pitfall though, one that took me, being new to Go, slightly by surprise!

Achievements
948 Karma
122,791 Total ProTip Views