The userguide is your friend:

  If enabled, Kannel will try to convert received messages with
  UCS2 charset to ISO-8859-1 or to UTF-8, simplifying external
  servers jobs. If Kannel is able to recode messages, it will
  also change coding to 7 bits and charset to iso-88590-1 or
  to utf-8.

In other words, "mo-recode=true" will only try to convert UCS2
(the double byte messages).

See ya...

d.c.

**>From: "Flavio Suguimoto Leite" <[EMAIL PROTECTED]>
**>To: "'Davy Chan'" <[EMAIL PROTECTED]>
**>Cc: <[email protected]>
**>Subject: RES: Char encoding problem
**>Date: Tue, 7 Feb 2006 14:55:14 -0200
**>In-Reply-To: <[EMAIL PROTECTED]>
**>
**>Davy,
**>
**>Thank you very much.
**>
**>These two messages are the same problem? In the same link a receive
**>normal messages (ASCII) and sometimes I receive these kind of message.
**>If I use "mo-recode=true" all MO messages wil be translated or only
**>these one?
**>
**>
**>-----Mensagem original-----
**>De: Davy Chan [mailto:[EMAIL PROTECTED] 
**>Enviada em: ter?a-feira, 7 de fevereiro de 2006 14:21
**>Para: Flavio Suguimoto Leite
**>Cc: [email protected]
**>Assunto: Re: Char encoding problem
**>
**>**>From: "Flavio Suguimoto Leite"
**><[EMAIL PROTECTED]>
**>**>To: <[email protected]>
**>**>Subject: Char encoding problem
**>**>Date: Tue, 7 Feb 2006 10:39:15 -0200
**>**>In-Reply-To: <[EMAIL PROTECTED]>
**>**>
**>**>Hi, 
**>**>
**>**>I have some issues with some messages in my kannel gateway. I have a
**>**>kannel plugged to 9 SMSCs and all of it is working fine. Almost
**>messages
**>**>receive from those SMSC are fine encoded in ASCII but a few of it is
**>**>reaching my platform in a strange char enconding format :
**>**>
**>**>Example:
**>**>HOLA?SRES?DE?R?H?+?ME?LLA?MO?CINTHIA?AI?SA?SOY?DE?GONZALEZ?CATAN?MI?D
**>NI?
**>**>ES?22366617?YO?TAM?BIEN?MANDO?AMIS?NENES?A???UN?COLEGIO?Q?X?LA?TARDE?
**>ESS
**>**>UBENCIONA
**>**>
**>**>Other example:
**>**>00480049005400200068006F006C00610020007100750069007300690065007200610
**>020
**>**>00640065006A006100720020006D00690073002000760074007300200020007000610
**>072
**>**>00610020005400480041004C0049004100200063006F006E00200041006C006D00610
**>020
**>**>00430065006E00740065006E0063006900610064006100200079
**>**>
**>**>First question, why this messages is reaching to me in this strange
**>**>encoding? 
**>**>
**>**>How can I config the kannel to translate it to ASCII messages? Is it
**>**>possible? 
**>
**>You are receiving UCS-2 double-byte characters. You can get Kannel's
**>smsbox to convert it to UTF-8 by setting "mo-recode=true" in your
**>"group=smsbox" declaration section.
**>
**>See ya...
**>
**>d.c.
**>
**>
**>-- 
**>No virus found in this incoming message.
**>Checked by AVG Free Edition.
**>Version: 7.1.375 / Virus Database: 267.15.2/252 - Release Date: 6/2/2006
**> 
**>
**>-- 
**>No virus found in this outgoing message.
**>Checked by AVG Free Edition.
**>Version: 7.1.375 / Virus Database: 267.15.2/252 - Release Date: 6/2/2006
**> 
**>
**>

Reply via email to