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

Allow specifying normalized form for Unicode filter #16

Open
todofixthis opened this issue Feb 6, 2017 · 0 comments
Open

Allow specifying normalized form for Unicode filter #16

todofixthis opened this issue Feb 6, 2017 · 0 comments

Comments

@todofixthis
Copy link
Contributor

When initializing the Unicode filter, allow the developer to specify which normalized form to use. E.g.:

In [1]: f.Unicode().apply('Ame\u0301lie')
Out[1]: 'Am\xe9lie'

In [2]: f.Unicode(normalize='NFD').apply('Ame\u0301lie')
Out[2]: 'Ame\u0301lie'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant