Skip to content

Comment on Strings, bytes, runes and characters in Goparent

Comments

I understood the article just fine. It's not wrong to say that in Go, text (called strings in other languages) is nearly always represented in UTF8 format and is commonly stored in variables of type string, or sometimes []byte.

Perhaps I should have left out the word "internal" since it's exposed.

Yes, "internal representation" has a specific meaning. If you had said "standard representation" or something then I would have agreed with you.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.