Don't assume that the character handling conventions you've learnt in one language/platform will automatically apply in others. I've selected a cross-section of popular languages to contrast the different ways character encoding is handled.
Announcing Rust 1.85.0 and Rust 2024
4 days ago