Michael,

It appears like this query belongs to a PHP community and not for the
Kannel group.

In any case, something looks wrong here because "john_b...@yahoo.com" is
NOT "john%C2%A7best%C2%A1yahoo.com" even when you URL encode it.

If all is right with the input from the mobile, then *rawurlencode()* and *
urlencode()* should do the work for you. The links below would enable you
know when to use which function.

http://php.net/manual/en/function.rawurlencode.php
http://php.net/manual/en/function.urlencode.php

--
Regards
Kenny


On Fri, Feb 8, 2013 at 12:46 AM, Singularnet <singular...@gmail.com> wrote:

>
> What about rawurldecode ?
>
> On Thursday, February 7, 2013, michael osakede wrote:
>
>>  thanks but that resulted in
>> Test??mcv.Com, i sent t...@mcv.com.
>>
>> any more ideas?
>>
>>
>> Use url_decode($_GET['text'])
>> SlyDroid
>> On Feb 7, 2013 8:05 PM, "michael osakede" <ire...@yahoo.com> wrote:
>>
>> Hi,
>>
>> Please can anyone help with a php code to decode email addresses.
>> please see sample
>>
>> ?sender=%2B2348051154967&text=john%C2%A7best%C2%A1yahoo.com+&to=33180
>> i want to convert text to john_b...@yahoo.com.
>>
>> Right now i just endup with
>> john??b...@yahoo.com" (non-printable character)- from my mail log.
>>
>> Any help is appreciated.
>>
>> Michael
>>
>>
>>
>>

Reply via email to