-
Hi, I am currently playing around with text formatting ( e.g if I execute the following command
the text that I receive looks like this: 👋👋abcdefg If I however change the formatting to Does anyone know, why the emoji basically shifts everything by one? The 👋 emoji is just a single UTF-8 character, right? So I would assume that edit: my Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Java (and Android) use UTF-16 encoding, so they probably use this when counting chars. An emoji consists of two UTF-16 chars. |
Beta Was this translation helpful? Give feedback.
Java (and Android) use UTF-16 encoding, so they probably use this when counting chars. An emoji consists of two UTF-16 chars.
signal-cli just passes those numbers through and doesn't interpret them.