Re: Strange Characters in MO Url from sms service

2013-03-26 Thread Sayed Hadi Rastgou Haghi
Hi
Just Do a url_decode ;)

%C3%B6 = ö




On Tue, Mar 26, 2013 at 10:47 PM, Jeff Thorn wrote:

> Hello All,
> I am seeing some odd characters in the HTTP call we are getting form
> smsbox for MOs. I expect the text from the phone to be:
>
> "RE: Testing reply ---testing iden"
>
> Here is the URL we are getting:
>
>
> /mo.php?id=b0be9dd5-2087-490c-8cb2-a34e15dd8b9f&sc=&phone=XX&text=RE%3A
> %C3%B6Testing+reply+--+Testing+iden&dt=2013-03-26+15:27:55&unixts=1364311675&coding=0&charset=UTF-8
> HTTP/1.1" 200 165 "-" "Kannel/svn-r4910M"
>
> %3A is clearly the colon. Does anyone know what %C3%B6 are? In both ASCII
> and UTF-8, these are random characters that don't make any sense (o with
> diaeresis if utf8, A with tilde and paragraph sign in ascii). The charset
> field is listed as utf8, which would mean this character is ö. But I am
> quite sure the user did not enter this character on the phone. Any ideas?
>
> Thanks,
> Jeff
>
>
>


-- 
Sincerely,

Sayed Hadi Rastgou Haghi


Strange Characters in MO Url from sms service

2013-03-26 Thread Jeff Thorn
Hello All,
I am seeing some odd characters in the HTTP call we are getting form smsbox
for MOs. I expect the text from the phone to be:

"RE: Testing reply ---testing iden"

Here is the URL we are getting:

/mo.php?id=b0be9dd5-2087-490c-8cb2-a34e15dd8b9f&sc=&phone=XX&text=RE%3A
%C3%B6Testing+reply+--+Testing+iden&dt=2013-03-26+15:27:55&unixts=1364311675&coding=0&charset=UTF-8
HTTP/1.1" 200 165 "-" "Kannel/svn-r4910M"

%3A is clearly the colon. Does anyone know what %C3%B6 are? In both ASCII
and UTF-8, these are random characters that don't make any sense (o with
diaeresis if utf8, A with tilde and paragraph sign in ascii). The charset
field is listed as utf8, which would mean this character is ö. But I am
quite sure the user did not enter this character on the phone. Any ideas?

Thanks,
Jeff