2 unstable releases
Uses old Rust 2015
0.2.0 | Oct 28, 2016 |
---|---|
0.1.0 | Oct 26, 2016 |
#5 in #folding
57KB
1.5K
SLoC
unicode-casefold
Iterators for case folding text. Provides "simple" and "full" algorithms, with Turkic language options on both.
See this W3C article for how case folding differs from .to_lowercase()
.
Updating the Unicode data tables
The tables used by this library are generated from official Unicode Consortium data. To update them, run the following commands:
curl -O http://www.unicode.org/Public/UNIDATA/CaseFolding.txt
python3 scripts/generate.py < CaseFolding.txt > src/tables.rs
rm CaseFolding.txt
Then check in any changes.