Re: sendsms: problems with new encoding

2007-09-25 Thread sara fink
When I send a message to orange number the message is sent but I get after output (snipped) like this: Error: unexpected response from Oranges's site THE ERROR: POST http://www.orange.co.il/obox/sendsms.aspx Accept: */* User-Agent: Mozilla/4.73 [en] (Win95; I) Content-Type:

Re: sendsms: problems with new encoding

2007-09-22 Thread Dan Kenigsberg
I have some problems with the new sendsms. For orange it sends but after i send i get output which I strip here: /components /page/script script type=text/javascript /script /form /body /html It does not tell me much. It seems that you get an unexpected respose from the Orange site.

Re: sendsms: problems with new encoding

2007-09-21 Thread Dan Kenigsberg
On Thu, Sep 20, 2007 at 09:58:55PM +0200, Arnon Sharlin wrote: Hi Dan, and thank you for updating the script. I am now able to send hebrew You're welcome. text messages through orange's site, using sendsms. When I run sendsms with a hebrew message from the command line everything works fine.

Re: sendsms: problems with new encoding

2007-09-21 Thread Arnon Sharlin
So simple. I thought the UTF-8 was an orange requirement. I modified the script according to your suggestion, and it now works. Thanks for your help with this issue, and for maintaining the script. arnon On 9/21/07, Dan Kenigsberg danken-at-cs.technion.ac.il |linux-il| .. wrote: On Thu, Sep

Re: sendsms: problems with new encoding

2007-09-21 Thread Dan Kenigsberg
On Fri, Sep 21, 2007 at 01:49:56PM +0200, Arnon Sharlin wrote: So simple. I thought the UTF-8 was an orange requirement. I modified the script according to your suggestion, and it now works. It is Orange's requirement. The line you just added converts iso-8859-8 to utf8 which is expected by

sendsms: problems with new encoding

2007-09-20 Thread Arnon Sharlin
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