maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] smssend: send sms from the command line (CLI) (https://talk.maemo.org/showthread.php?t=69661)

getnani 2011-09-28 06:09

Re: [Announce] smssend: send sms from the command line (CLI)
 
is it possible to list all numbers with a matching nickname? i use nickname to get around the missing group sms feature. possible via nicolai script?

白い熊 2011-09-28 14:53

Re: [Announce] smssend: send sms from the command line (CLI)
 
Quote:

Originally Posted by krutznikov (Post 1083052)
thanks a lot for this work! usefull with a PC connected SSH! by cons there is indeed an encodage problem with french chars (accents) but I donc't know if it's because of the X-terminal... further, without the -c or -C option, the message isn't always saved in the sent folder...

No, this program doesn't properly encode UTF-8 characters, and thus sent messages get mangled...

sakya 2011-09-28 15:57

Re: [Announce] smssend: send sms from the command line (CLI)
 
Quote:

Originally Posted by 白い熊 (Post 1098190)
No, this program doesn't properly encode UTF-8 characters, and thus sent messages get mangled...

Ops, I never tested this, I'll try to fix it (it should be easy). :)

sakya 2011-09-30 12:27

Re: [Announce] smssend: send sms from the command line (CLI)
 
Uploaded now version 0.1.9

Changelog:
*Fixed bug when saving messages
*Fixed unicode messages

Please test and report if unicode messages work. ;)

krutznikov 2011-10-01 15:37

Re: [Announce] smssend: send sms from the command line (CLI)
 
thanks for it! :) I've tested the 1.9 version but the same accent problems appears with the -C or with no option. By cons with the -c option, it works (it worked even before the update)...

for example: instead of "é", I get "é"

sakya 2011-10-01 15:41

Re: [Announce] smssend: send sms from the command line (CLI)
 
Quote:

Originally Posted by krutznikov (Post 1100415)
thanks for it! :) I've tested the 1.9 version but the same accents problems appears with the -C option. By cons with the -c option, it works (it worked even before the update)...

Oh, sorry: I fixed the problem without using conversation (without -C or -c), I'll fix also the problem with conversation.
Thanks for your report. :)

krutznikov 2011-10-01 15:45

Re: [Announce] smssend: send sms from the command line (CLI)
 
hum I get the same problem with no option, for example: instead of "é", I get "é"

白い熊 2011-10-01 15:46

Re: [Announce] smssend: send sms from the command line (CLI)
 
The problem persists with both, it's encoding garbage before handing the text to conversations or sending it. Same encoding garbage that krutznikov mentions.

白い熊 2011-10-01 15:49

Re: [Announce] smssend: send sms from the command line (CLI)
 
Oh yes, with the -c option, it pastes proper text to the conversation. With the -C it pastes false text.

So there must be different encoding steps going on in the two steps...

sakya 2011-10-01 16:37

Re: [Announce] smssend: send sms from the command line (CLI)
 
OK, I'll make some other tests: I tested this only via ssh and seemed to work.

This command worked fine for me (via ssh):
Code:

smssend -n xxxxx -m "مرحبا"
Probably the terminal encoding is different.

Thanks for your tests. ;)


All times are GMT. The time now is 00:51.

vBulletin® Version 3.8.8