3 ms·
While certainly much better, you still need to be aware that doing case conversion absent any locale information will never be perfect. If you want proper local
by lilyball 2y ago
While certainly much better, you still need to be aware that doing case conversion absent any locale information will never be perfect. If you want proper locale-aware conversion you can use the icu crate (https://docs.rs/icu/latest/icu/ https://docs.rs/icu/latest/icu/).
- account42 2y agoExactly, simple "unicode-aware" case conversions are a trap. You are always going to need much more.