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 food emojis matching #14

Open
fabmars opened this issue Feb 11, 2020 · 1 comment
Open

Allow food emojis matching #14

fabmars opened this issue Feb 11, 2020 · 1 comment

Comments

@fabmars
Copy link

fabmars commented Feb 11, 2020

Those https://en.wikipedia.org/wiki/Supplemental_Symbols_and_Pictographs
Range: [U+1F900 - U+1F9FF]
And those in particular: 🥐🍫🍪🍩🥞 (UTF-16: \uD83E\uDD50 \uD83C\uDF6B \uD83C\uDF6A \uD83C\uDF69 \uD83E\uDD5E )
Enchancement request spun from #3

@fabmars
Copy link
Author

fabmars commented Feb 11, 2020

The instant messaging apps :croissant: form is already covered.

Actually not trivial to implement: like I implied above, each of those emojis are 2 chars in a JVM (chars are 2 bytes, those emojis are 17 bits). And currently the keylogger feeds us with chars directly inferred from the use of the keyboard's actual keys.

IOW to match a croissant emoji, we'd need to match the actual succession of chars {'1', 'F', '9', '5', '0' }.
That means we have to take it the other way around and teach the ForbiddenPhrase to detect them.

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

No branches or pull requests

1 participant