golang convert byte to char code example Example: golang []byte to string s := string([]byte{65, 66, 67, 226, 130, 172}) fmt.Println(s) // ABC€