-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Correct handling of context-sensitive unicode case folding #11
Comments
A little more research suggests what we actually want is case folding, e.g. via https://github.com/unicode-rs/rust-caseless. But this might be slower (particularly given need for a different normalization) and it's not clear if it really matters given that we're often running against already transliterated data, or only interested in an initial. |
#20 makes us consistently respect the possibility of multiple characters for a case mapping, but I'll leave this open to handle context. |
There are a couple of places where we ignore the fact that unicode case folding can generate multiple characters, and I don't think there are any cases where we correctly handle context. rust-lang/rust#98490 would make this much easier.
The text was updated successfully, but these errors were encountered: