rurban/ctl

Unicode NFD is destructive

TinoDidriksen opened this issue · 1 comments

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.

rurban commented

Compare is done with a copy of course. See also libu8ident, which does the ident checks already