Counting special characters ü, å, ø, etc

The reason is that in Julia strings are UTF-8 encoded and you can index into them using byte count or character count. Some functions use the first approach and some the second. This is explained here in the Julia manual and additionally here in my blog. If some of the explanations are not clear please comment and I can expand on them.

3 Likes