signal-cli icon indicating copy to clipboard operation
signal-cli copied to clipboard

Emoji support issue in Signal CLI 0.13.9 on Windows

Open Jazzzman1 opened this issue 1 year ago • 2 comments

Hello,

I am using Signal CLI 0.13.9 on Windows through Windows Terminal, and I am encountering an issue with emoji support. When I try to send a message containing an emoji, it appears as "??" on the recipient's device. Here's what I have tried:

1. Environment setup:

  • Windows Terminal with UTF-8 encoding (chcp 65001).
  • Fonts supporting emoji, such as Segoe UI Emoji and Cascadia Code PL.
  • Latest Java version installed (java version "23.0.1").
  • Signal CLI data is stored in the default directory for the user.

2. Commands tested:

Sending emoji directly:

signal-cli.bat -u +[my_number] send -m "😊 Test message" +[recipient_number]

Sending JSON message:

type message.json | signal-cli.bat -u +[my_number] send --json

JSON file contents:

{
  "message": "😊 Test message",
  "recipient": "+[recipient_number]"
}

3. Results:

  • The recipient always receives "?? Test message".
  • Emoji displays correctly in Windows Terminal when typing the command.
  • Other special characters work fine.

4. Additional details:

  • Using Signal Desktop App with the same account, I can send emojis successfully.
  • Signal CLI works for text messages, but emojis are not transmitted correctly.

Expected behavior:

Emojis should be sent and received correctly through Signal CLI.

Questions:

  1. Is there any known issue with emoji support in Signal CLI 0.13.9 on Windows?
  2. Are there any specific configurations or steps to enable proper emoji handling?
  3. Could this be related to the interaction between Signal CLI and the Windows environment?

Thank you for your help!

Jazzzman1 avatar Nov 17 '24 19:11 Jazzzman1

Maybe look at other issues, that got it working: e.g. #760

AsamK avatar Nov 23 '24 10:11 AsamK

Can confirm I'm having the same issue. Fixes from https://github.com/AsamK/signal-cli/issues/760 didn't help, i have -Dfile.encoding=UTF8 set and chcp 65001 in terminal, but still emojis in sent messages are replaced with ??s.

daichidevice avatar Dec 05 '24 02:12 daichidevice