Nadav Har'El wrote on 2003-09-08:
> http://nadav.harel.org.il/software/sendsms/
>
> * Sending Hebrew to Cellcom and Pelephone phones now works (only
> tested from a shell running with a ISO-8859-8 locale).
>
I can't get Hebrew to work. I'm a Cellcom client (sending through
icq) and I'm pretty sure my phone (Nokia something) can recieve Hebrew
messages. It doesn't work with all 4 combinations of ISO-8859-8/UTF-8
message argument and with/without ``LC_ALL=he_IL`` (my default locale
is UTF-8). I even tried without ``-h`` (well, that was stupid :).
The line that was surely supposed to work was:
$ LC_ALL=he_IL sendsms beni Test `echo שלום |
iconv -f utf-8 -thebrew`
[The messed characters were typed in UTF-8, don't know if it gets
through this mailer.]
I now tried to manually send Hebrew from the icq website but I've
reached my limit with this testing... I don't know perl i18n issues
enough to help with the code (I don't even know where is the problem
yet).
BTW, I think that ``use locale;`` at the beginning of the script would
automatically decode the message argument in the user's locale
encoding (ISO-8859-8 or UTF-8), as well as printing it out in messages
back in the user's encoding. Currently, without this pragma, it
doesn't care for the locale environment variables (if I inderstood
`man perllocale` correctly). I'm not sure that simply adding it won't
break something else.
--
Beni Cherniavsky <[EMAIL PROTECTED]>
A word of warning about matrices - *each column must have the same
number of elements in it*. The world will end if you get this wrong.
-- EQN user manual, Brian W. Kernighan & Lorinda L. Cherry
================================================================To unsubscribe, send
mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]