String indices : byte indexing feels wrong

It gets even worse: the noel you wrote has 5, but when I copy-paste it into this text field, the "noël" I see here has 4 characters! Looks like we get lucky and Discourse doesn’t apply any normalization (but looks like my browser’s text entry box does), so you can even copy-paste the two strings into Julia to see for yourself.

4 Likes