Emoji support issue in Signal CLI 0.13.9 on Windows
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:
- Is there any known issue with emoji support in Signal CLI 0.13.9 on Windows?
- Are there any specific configurations or steps to enable proper emoji handling?
- Could this be related to the interaction between Signal CLI and the Windows environment?
Thank you for your help!
Maybe look at other issues, that got it working: e.g. #760
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.