We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://util.unicode.org/UnicodeJsps/confusables.jsp?a=a&r=None
from slugify import slugify assert slugify("𝐚́́𝕒́") == ""
from slugify import slugify assert slugify("𝐚́́𝕒́") == "aa"
I think text = unicodedata.normalize("NFKC", text) should be called before text = unidecode.unidecode(text).
text = unicodedata.normalize("NFKC", text)
text = unidecode.unidecode(text)
The text was updated successfully, but these errors were encountered:
@chuckyblack thanks for reporting it. I have raised a PR, which will normalize the text twice.
#143
Sorry, something went wrong.
No branches or pull requests
https://util.unicode.org/UnicodeJsps/confusables.jsp?a=a&r=None
Current result
Expected result
Possible solution
I think
text = unicodedata.normalize("NFKC", text)
should be called beforetext = unidecode.unidecode(text)
.The text was updated successfully, but these errors were encountered: