You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
func EncodeRune(rune int, p []byte) int {
if rune <= _Rune1Max {
p[0] = byte(rune);
return 1;
}
....
means that negative rune ints are encoded as such and converted to
byte. This means I could get a $FF char from this. This is not correct
imho.