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

Emoji support issue in Signal CLI 0.13.9 on Windows #1627

Open
Jazzzman1 opened this issue Nov 17, 2024 · 2 comments
Open

Emoji support issue in Signal CLI 0.13.9 on Windows #1627

Jazzzman1 opened this issue Nov 17, 2024 · 2 comments

Comments

@Jazzzman1
Copy link

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!

@AsamK
Copy link
Owner

AsamK commented Nov 23, 2024

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

@daichidevice
Copy link

Can confirm I'm having the same issue. Fixes from #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.

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

3 participants