News for hackers. Stuff that matters.
Re:Rust in 2022 by Ygg2 on Wednesday January 12, 2022 @11:01AM (#29908271)
I don't think proper Unicode handling is a thing that can be solved universally. Do you need it for formatting, to count characters, for currency extraction, time formatting, etc.
Re:Rust in 2022 by dhosek on Wednesday January 12, 2022 @09:39PM (#29916140)
At the very least some basic things like collation and normalization should be part of the String class. I think character counting would also be a useful thing (and given the ASCII-art formatting of error messages in rust, it's presumably part of the compiler's code already although there are plenty of bits of compiler code that aren't exposed through stdlib like the ability to take a string like \u{e0) and convert that to á.