Hi,

You are asking if your problem is difficult? Not really. But it seems that it 
is your application's problem, which kannel has nothing to do with. It seems 
that kannel is correctly sending UTF-8 but you need windows-1251 for your TV. 
Basically you have to recode in your application from UTF-8 to windows-1251. 
That's php's issue, not kannel's.

BR,
Nikos
  ----- Original Message ----- 
  From: patrick meye 
  To: mailing list kannel 
  Sent: Monday, October 12, 2009 4:20 PM
  Subject: coding-charset


  Hi all,
  is my problem delicate??? i don't found any issue about this encoding,i found 
a doc named "Charactθre,Kannel & MT SMS.doc" on www.gnu.org but that is 
reversal case i.e charactθre coding from application to mobile via kannel. Is 
some one can help me to coding charactθre from mobile to application(UTF-8) via 
kannel please,please??????

  Best regard!


------------------------------------------------------------------------------
  From: [email protected]
  To: [email protected]; [email protected]
  Subject: RE: coding
  Date: Thu, 1 Oct 2009 08:28:52 +0000

  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 ! 

------------------------------------------------------------------------------
  Messenger dιbarque dans Hotmail ! Essayez-le ! 

------------------------------------------------------------------------------
  Gratuit : Hotmail plus rapide avec Internet Explorer 8 ! Cliquez ici ! 

Reply via email to