-
-
Notifications
You must be signed in to change notification settings - Fork 317
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
Special characters in message text not working (anymore) #1105
Comments
Please check the |
This looks quite good: @AsamK Any additional idea what I could check? I am sending the message with sudo -u ... echo $LANG |
Does anybody have an idea what I could check in addition to find the reason? |
I tried further to find the reason but did not succeed. I did so just as a user (not debugging). I am using signal-cli 0.11.5.1 on Ubuntu 22.04.1 LTS |
I am getting a similar problem when sending or receiving messages with emoji and such in windows 10, signal-cli 0.11.5.1. my LANG environment variable is en_US.UTF-8 in other issue threads AsamK brings up java -XshowSettings:properties -version 2>&1. i get
i understand they should be set to UTF-8 not Cp1252, and that this is probably the cause of the problem, but i can't seem to find how to change them anywhere. |
The mentioned parameter shown in java -XshowSettings:properties -version are on my system: |
Does anybody know if the problem may be caused in https://github.com/signalapp/libsignal and we need to create an issue ticket there!? |
I confirm I'm having the same issue. My locale is set to french and it doesn't fix the problem. The issue happened with a recent upgrade of I checked the changes between 0.11.4 and 0.11.5.1 and haven't found anything noticeable regarding how messages are send appart from the handling of attachments but I'm not sure it's relevant. @AsamK don't hesitate to ping me back if you have troubles reproducing. I'll continue investigating a bit. |
@PastCoder different versions do not matter, as the service is basically just the systemd unit file. btw. sending works for me (tested using jsonrpc via http) |
|
Sure. I've just started signal-cli like this Then using curl:
|
Hi @morph027 , If it works, which version do you use? |
Jip, right, using command line i do get ������ too ..... |
As a workaround I changed now my implementation to daemon and curl. |
The daemon and json-rpc approach has the advantage of being faster as the daemon is running all the time and the jvm does not need to be started each call. If so, you should probably just use java script builtin http requests (https://livecodestream.dev/post/5-ways-to-make-http-requests-in-javascript/). In the meantime, i've just added a new build pipeline for v0.11.6-4 which re-adds the buildArgs and a quick test shows it works. Should be releases soon. But i'd still would recommend the daemon and native http requests ;) or probably even json rpc client exists alreay. |
Since the update to 0.11.6-4 it works again with the command line. |
i've the same problem since upgrading from signal-cli-0.11.5.1 to signal-cli 0.12.7 - all locales and LANG settings are set to utf-8. Command line öäü now results in ? in received messages on my iphone. |
Cayn you try with |
Do you mean like this?
if yes - same result |
It works fine with:
not working with:
|
I can reproduce the above; however, in order to reopen this issue, you'd need a reproducer using the upstream native binary/Java archive. |
If it happens w/ upstream native build too, it might help to add this patch ... will see if i can try to reproduce. Edit: tested latest upstream binary and it works |
I truly understand but I‘ve no newer system than bullseye available. |
You could still try my buster based build:
|
I've added the two lines and that fixes the problem! They're worth a pull request! 😁 |
Signed-off-by: morph027 <stefan.heitmueller@gmx.com>
Great, created a PR |
i can confirm that this solves the issue! Thanks a lot! |
I am sending message via s script and signal-cli.
Since some days I am receiving on my mobile phone only � instead of special characters (German Umlaut) and emojis.
I think I did not change anything other related to sending the messages. So I assume that some recent update of signal-cli caused the problem.
The text was updated successfully, but these errors were encountered: