-
Notifications
You must be signed in to change notification settings - Fork 188
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
Messing up text that has emojis #156
Comments
The problem here is the length of compound emojis. It's not an easy fix. This is the same reason why this test fails: |
The right approach to this problem would be to use https://unicode-org.github.io/icu-docs/apidoc/released/icu4j/com/ibm/icu/text/BreakIterator.html |
Another option is regex |
Fixed in devel. '\X' does not work. The |
If you paste the text that has emojis from somewhere else into the program, when you send the message, the message will be messed up in the Tindroid.
(Everything is fine in the Webapp)
To Reproduce
Copy and send the following text from Bob to Alice
🔴Hello🔴
🟠Hello🟠
🟡Hello🟡
🟢Hello🟢
After sending the text, both Alice and Bob will see the following text
🔴Hello
� 🟠Hel
o🟠 🟡H
llo🟡 🟢Hello🟢
Expected behavior
The text is sent and displayed correctly
Tindroid
Version 0.22.8 (1665)
Device Xiaomi 11t
Android 13
Server
sandbox.tinode.co
The text was updated successfully, but these errors were encountered: