Hi Remon Magdy
I am struggling for the past 3 weeks to get this multilingual message send
through Kannel XML POST, but of no avail. If you get any help from anyone,
please let me also know.
regards
ravi
 

  _____  

From: Remon Magdy [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 16, 2008 2:24 PM
To: ravi
Cc: 'Gerardo Segura'; [email protected]
Subject: Re: unicode working http request


Hi There,

I'm already sending multilingual text "Arabic & English" from kannel :),

My problem is just the same as you, which is how to use the XML POST
interface?

Regards,
Remon

ravi wrote: 

Hi Remon Magdy,
 
For you to send a multilingual text using kannel sendsms, pl do the
following:
1) Generate the UTF-8 encoded multilingual text
2) http://localhost:13013/cgi-bin/sendsms?username=..
<http://localhost:13013/cgi-bin/sendsms?username=..&password=..&to=..&text=%
7BUTF-8> &password=..&to=..&text={UTF-8 encoded text}&coding=2&charset=UTF-8
3) This works!
 
I am splitting hairs to get this working in the Kannel XML Post.
regards
ravi
 
 

  _____  

From: Remon Magdy [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 16, 2008 1:57 PM
To: ravi
Cc: 'Gerardo Segura'; [email protected]
Subject: Re: unicode working http request


Nope, have been trying to do so with http post but failed :(.

Regards,
Remon

ravi wrote: 

How to get this working through the XML Post of Kannel? Any idea pl?

  _____  

From: Remon Magdy [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 16, 2008 1:30 PM
To: Gerardo Segura
Cc: [email protected]
Subject: Re: unicode working http request


Hello There,

Your third trial is the closest one to the correct form of HTTP get request
just change charset from ucs2 to be utf-16be

(3) http://localhost:13013/cgi-bin/sendsms?...
<http://localhost:13013/cgi-bin/sendsms?...&text=%00%E1%00%E9%00%ED%00%F3%00
%FA%00%F1&coding=2&charset=utf-16be>
&text=%00%E1%00%E9%00%ED%00%F3%00%FA%00%F1&coding=2&charset=utf-16be

Please let me know if you still have any problems.

Regards,
Remon



Gerardo Segura wrote: 

Hello dear all, 
Firstly sorry to ask that ubiquitous question again. Only this time is more
simple, not about the encoding process but the plain invocation to
cgi-bin/sendsms 

If anyone has successfully sent unicode text, in the kindest form I ask
him/her to share just one working 
HTTP-GET  request to sendsms script. 

So far this eludes me,  here I reproduce some unlucky intents (unrelated
parameters are not included): 
(1) http://localhost:13013/cgi-bin/sendsms?...
<http://localhost:13013/cgi-bin/sendsms?...&text=00E100E900ED00F300FA00F1&co
ding=2&charset=ucs2> &text=00E100E900ED00F300FA00F1&coding=2&charset=ucs2 
(2) http://localhost:13013/cgi-bin/sendsms?...
<http://localhost:13013/cgi-bin/sendsms?...&text=00E100E900ED00F300FA00F1&co
ding=2&charset=UCS2> &text=00E100E900ED00F300FA00F1&coding=2&charset=UCS2 
(3) http://localhost:13013/cgi-bin/sendsms?...
<http://localhost:13013/cgi-bin/sendsms?...&text=%00%E1%00%E9%00%ED%00%F3%00
%FA%00%F1&coding=2&charset=ucs2>
&text=%00%E1%00%E9%00%ED%00%F3%00%FA%00%F1&coding=2&charset=ucs2 

The target phone shows 12 little rectangles for (1) and (2) and 6 little
rectangles for (3). 
The intented string is áéíóúñ, so option (3) gets right the number of chars,
but shows all of them as rectangles. 


Again, I'm not requesting tips for encoding but just to see how a well
formated request to /sendsms looks like 

best regards, 
Gerardo. 







Reply via email to