I'm implementing case folding in a function for JavaScript. I've code generated out of the CaseFolding.txt file the needed JavaScript code.
The documentation for U_FOLD_CASE_DEFAULT
says that ICU will use:
default mappings defined in CaseFolding.txt.
I would like to confirm that using types C
and F
are the default option. I know T
is excluded per the documentation.
A. To do a simple case folding, use the mappings with status C + S.
B. To do a full case folding, use the mappings with status C + F.
The mappings with status T can be used or omitted depending on the desired case-folding behavior. (The default option is to exclude them.)
Am I selecting the correct values out of CaseFolding.txt
?