Imho, Rust handles unicode very well. It is harder to not use it, because it is baked into the language. JS is also quite simple to use with unicode and has a lot of utilities. Well, it better be able to handle unicode well, since it is used all over the world for websites!
unfortunately, I don't have any experience with unicode in other languages. Never really needed it and I just have bad memories of C/C++ and unicode >.<
What I don't like about Rust unicode is that string length and slicing happens at the byte level, not unicode glyph level. E.g. this panics: &"你好"[1..2]. It is understandable for Rust though, given its focus on performance.
Of course the correct way is also supported, and in typical Rust style it's explicit what the cost is, but few other langauges would consider this acceptable: "你好".chars().skip(1).take(1).collect::<String>()
Marco Alka
Software Engineer, Technical Consultant & Mentor
Imho, Rust handles unicode very well. It is harder to not use it, because it is baked into the language. JS is also quite simple to use with unicode and has a lot of utilities. Well, it better be able to handle unicode well, since it is used all over the world for websites!
unfortunately, I don't have any experience with unicode in other languages. Never really needed it and I just have bad memories of C/C++ and unicode >.<