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
Describe the bug replace() function leaves unicode variation selector-16 (\xef\xb8\x8f) when replacing Repeat Button emoji (ποΈ).
\xef\xb8\x8f
To Reproduce
import demoji sample_var = 'ποΈ sample text' print(sample_var.encode('utf-8')) >>> b'\xf0\x9f\x94\x81\xef\xb8\x8f sample text' sample_var = demoji.replace(sample_var) print(sample_var.encode('utf-8')) >>> b'\xef\xb8\x8f sample text'
Expected behavior String without \xef\xb8\x8f sequence:
>>> b' sample text'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
replace() function leaves unicode variation selector-16 (
\xef\xb8\x8f
) when replacing Repeat Button emoji (ποΈ).To Reproduce
Expected behavior
String without
\xef\xb8\x8f
sequence:The text was updated successfully, but these errors were encountered: