ctl
ctl copied to clipboard
Unicode NFD is destructive
u8string will get proper utf-8/unicode support, exceeding C++ STL. compare will check u8strings normalized to NFD.
Please consider that very carefully. Normalization is destructive. E.g. both Å
(U+00C5) and Å
(U+212B) will normalize to Å
(U+0041 U+030A). There are lots of such destructive normalizations, but do you really want to consider them equal? I sure don't.
Compare is done with a copy of course. See also libu8ident, which does the ident checks already