Hi Dan, and thank you for updating the script. I am now able to send hebrew
text messages through orange's site, using sendsms. When I run sendsms with
a hebrew message from the command line everything works fine. I have a
problem though, with 2 scripts that uses sendsms:
1. a perl script (a modification of smsdlg that I think I once found
in this mailing list long tim ago):
It used to call send sms with the following command:
`LC_ALL=he_IL sendsms $phone_num "" '$text'`;
I tried to give different encoding to the LC_ALL, but had no luck, in
passing hebrew messages. I also tried running the command without the LC_ALL
part, but still doesn't work.
2. a TCL script that I once wrote, that calls sendsms with the
following commands # This converts the hebrew utf-8 message to iso8859-8
set new_line [ encoding convertto iso8859-8 $utf_line];
catch {exec sendsms <number> "sender" $new_line} answer
This worked well before. But now due to the new utf-8 requirements not
working at all. I have tried to remove the encoding command, and pass the
utf_line instead but it still doesn't work
Can someone please show how to pass hebrew messages to sendsms in both TCL
and perl ?
shana tova,
arnon