sheredom / utf8.h

📚 single header utf8 string functions for C and C++
The Unlicense
1.73k stars 126 forks source link

Not an issue but cyrillic char support for upper/lower case operations #63

Closed mileder closed 4 years ago

mileder commented 4 years ago

Cyrillic -- unicode range: 0400–04FF from: https://www.unicode.org/charts/PDF/U0400.pdf

-- upper case - lower case groups: 1) 0x400 - 0x40f; 0x450 - 0x45f 2) 0x410 - 0x41f; 0x430 - 0x43f 3) 0x420 - 0x42f; 0x440 - 0x44f

-- from 0x460 until 0x4ff are pairs: upper/lower case e.g. 0x460; 0x461 0x462; 0x463 ... 0x4fe: 0x4ff

-- all pairs/groups can be used in both directions upper to lower and lower to upper