Skip to content
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

Give example on how to filter out diacritics #109

Closed
wants to merge 1 commit into from

Conversation

jonathan-s
Copy link

Fix #84. Since there are a few people requesting this, myself included when I tried sorting this out, I'm adding this to the documentation as an example.

This also showcases that strings are in fact decomposed in the iterator, which the initial example does not.

@Manishearth
Copy link
Member

I don't think this is an appropriate use of this crate: this is narrowly stripping Latin diacritics, nothing else (and that too, only for Latin letters in ASCII).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Accent-stripping example?
2 participants