Joined May 2013
·

Herman Schaaf

Software Engineer at 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
610,872 Total ProTip Views