by debugnik · 1y ago · 0 comments
Worse, the built-in Unicode strings are arrays of Unicode scalars, effectively UTF-32 in the general case. There's no proper way to write UTF-8 string literals AFAIK, you need to convert them from arrays of 8, 16 or 32 bit characters depending on the literal.
Also, string representations very much matter if you're coding with even the slightest amount of mechanical sympathy.