Have you verified what the charset FROM carrier is?

Some carriers send messages in different charset depending on content,
or just use the charset defined by the sender, therefore, you might
need to ask kannel -see the options in userguide- to pass you the
incomming charset and pass that info to your application so you can
decode charsets correctly in your app.

Regards

Alvaro

|-----------------------------------------------------------------------------------------------------------------|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
SMS y GPRS online
              Visitenos en www.perusms.NET www.smsglobal.com.mx y
www.pravcom.com



On Thu, Oct 1, 2009 at 3:28 AM, patrick meye <[email protected]> wrote:
> Hi all,
>
> I come back cause i don't solve my coding problem,is someone can help me
> please???
> So,I've changed coding and charset diferent values (according userguide) no
> successful,i'm not a develloper so i can juste  setting.
> When i send sms from mobile phone to TV,via sms-service,specials charactères
> are not correctly apear to TV.I send sms to my service,ex:
> -CSPI essai2 téléAfrica2,where CSPI is keyword and essai2 téléAfrica2 is
> body but "é" charactère apear like this "é" on TV.So "é" from mobile "é"
> to TV and i want "é" from mobile "é" to TV charactère for exemple.
> Where am i wrong???? please help me
>
> Best regard!
>
> add is my traces files(smsbox.log and access.log)
> ________________________________
> Date: Fri, 25 Sep 2009 14:04:28 +0300
> Subject: Re: coding
> From: [email protected]
> To: [email protected]
>
> the ususal character set encoding used by kannel to post to http is
> "ISO-8859-1"
> when you get extra characters Kannel use "UTF-16BE"
> this is why you should convert from the kannel encoing to your native
> encoding,
> THEN encode to UTF
> On Fri, Sep 25, 2009 at 12:27 PM, patrick meye <[email protected]>
> wrote:
>
> Thanks for reply, perhaps i don't understand what you say but it's my
> encoding that decode to UTF-8 for sms apear to TV monitor.
>
> this is the schema:
>
>                     sms                                    sms
>   Kannel------------------>Application------------->TV
>     (???)                                      (UTF-8)
>     (UTF-8)
>
> My problem is kannel coding and format.
>
> Best regard!
>
>
>
>> Date: Fri, 25 Sep 2009 11:32:09 +0300
>> From: [email protected]
>> CC: [email protected]
>> Subject: Re: coding
>>
>> Decode at the HTTP interface from UTF-8 to your encoding
>>
>> example php:
>>
>> $sms1251=preg_match("/UTF/i",$GLOBALS["_REQUEST"]["charset"]) ?
>> pg_escape_string(iconv($GLOBALS["_REQUEST"]["charset"],
>> "Windows-1251",$GLOBALS["_REQUEST"]["message"])) :
>> pg_escape_string($GLOBALS["_REQUEST"]["message"]);
>>
>> patrick meye wrote:
>> > Hi all,
>> > I successfully setting up kannel like sms gateway and it run
>> > perfectly.So i created a service that send sms to TV via another
>> > application that format is UTF-8.Service run ok but i have an encoding
>> > and format problem,cause some special charactèr are mal formated (i.e
>> > ex:é,à,è,ç,...etc).Is some one can help me,what can i do what setting
>> > add???
>> > Adding is my kannel.conf please help me. Sorry for my english i'm just
>> > learning english.
>> >
>> > Best regard!
>> >
>> > ------------------------------------------------------------------------
>> > Découvrez toutes les possibilités de communication avec vos proches
>> > <http://www.microsoft.com/windows/windowslive/default.aspx>
>>
>
> ________________________________
> Vous voulez savoir ce que vous pouvez faire avec le nouveau Windows Live ?
> Lancez-vous !
>
>
> --
> seik
>
> ________________________________
> Tous vos amis discutent sur Messenger, et vous ? Téléchargez Messenger,
> c'est gratuit !

Reply via email to