tree: 1615477dd36885020459eaa9c0da707d476be851 [search]
  1. scripts/
  2. src/
  3. BUILD.bazel
  4. BUILD.gn
  5. README.md
src/storage/fxfs/unicode/README.md

Unicode NFD normalization and casefolding

This directory contains two libraries:

generator consumes Unicode's official UCD dataset and produces unicode_gen.rs. As of June 2024, this is around 25kiBi for UCD version 12.1.0.

unicode makes use of this data set to provide :

  • NFD normalization
  • Case folding
  • Default ignorable character mappings.
  • A convenience comparator CasefoldStr that combines the above three.

Updating unicode versions

See the update script in the scripts/ subdirectory. Updates to CIPD prebuilts will trigger regeneration of unicode_gen.rs.