
Iterating strings and manually decoding UTF-8
This post is an adapted excerpt from Understanding the Odin Programming Language – the acclaimed eBook on learning Odin and understanding low-level concepts. Visit https://odinbook.com for more information. Text strings in Odin use Unicode. Unicode is a standard that makes it possible to use characters from most languages. You can mix different languages within the same string, and even use exotic things such as emojis! Odin has two primary types for representing text: string and cstring....