Go string appears shorter than it's first rune

I was running some fuzzing on my code and it found a bug. I have reduced it down to the following code snippet and I cannot see what is wrong. Given the string s := string("\xc0") The len(s) function returns 1. However, if you loop through the string the first rune is length 3. for… Read More Go string appears shorter than it's first rune