I want to know the standard algorithm for converting unicode characters into lowercase as proposed by unicode.org.
Also, do most programming languages follow this proposed standard?
I want to know the standard algorithm for converting unicode characters into lowercase as proposed by unicode.org.
The basic algorithm is simply to concatenate the lowercase of each individual character (as defined by the penultimate column in UnicodeData.txt). There are also some special rules to handle multiple-character mappings (İ → i̇ with an extra COMBINING DOT ABOVE the i), conditional mappings (Σ → ς at the end of a word, but σ otherwise), and language-sensitive rules (like Turkish dotless ı).
Also, do most programming languages follow this proposed standard?
Java does. Python implements the basic rules, but not the special rules. And C has no standardized Unicode support at all.
.NET does have unicode support and offers built-in functions to switch between upper and lower case. This is probably true with some other languages, as well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With