logoalt Hacker News

happytoexplainlast Tuesday at 4:46 PM1 replyview on HN

Are the meanings for the levels for each code point defined somewhere (accent, casing, etc)?


Replies

Sesse__last Tuesday at 5:51 PM

Typically it is defined by the collation. For the default collation, where all the weights are as in the file, it's none/accent/accent+case. But if you go to e.g. Japanese, you can have a fourth level of “kana-sensitive” (which distinguishes between e.g. katakana and hiragana).