There are invalid byte sequences that can't be converted to Unicode strings. How do I detect that when converting []byte to string in Go?
[]byte
string
2.1m questions
2.1m answers
60 comments
57.0k users