Working with Strings in Go: strings, strconv, fmt Verbs, Bytes vs Runes and Turkish Characters
In Go a string is an immutable sequence of UTF-8 bytes, and the strings package ignores language: strings.EqualFold does not treat "istanbul" and "İSTANBUL" as equal, and Turkish rules need unicode.TurkishCase. Normalizing and validating ISBNs, strconv error types, reading Turkish-format prices, fmt verbs and go vet, measuring strings.Builder, and RE2-based regexp.
15 Nov 2026
·
14 min
·
7