News for hackers. Stuff that matters.
Re:Brian Kernighan adds Unicode support to Awk by jaxrtech on Saturday August 20, 2022 @07:42PM (#32536120)
It's also the case that `char` in Rust is a 32-bit primitive. Though, `String` being UTF-8 is convenient until you need to do Unicode operations on actual chars...

It is surely better than dealing with UTF-16 "surrogate pairs"[2] in most pre-UTF-8 tech where a `char` is 16-bits but can't fit all Unicode codepoints without another 16-bit `char`.

[1]: https://doc.rust-lang.org/std/primitive.char.html#representa...

[2]: https://stackoverflow.com/a/54922477/809572

Re:Brian Kernighan adds Unicode support to Awk by kqr on Sunday August 21, 2022 @01:34AM (#32537669)
Well, it's not like we don't have plenty of combining marks in Unicode itself, so I suspect this is something you have to deal with either way.