Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ivanjermakov
4 months ago
|
parent
|
context
|
favorite
| on:
Traps to Developers
There is no such thing as "just bytes" when it comes to Unicode. UTF-8 is a way to represent Unicode codepoints in binary.
But I agree that author's statement is wrong. Go stings are equivalent to byte slices.
bradfitz
4 months ago
[–]
Go strings are just bytes. There is no Unicode or encodings.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
But I agree that author's statement is wrong. Go stings are equivalent to byte slices.