Special Characters and Kannel 1.4.1

2007-04-03 Thread Markus R.

Hi,

I have a problem sending special characters in mobile terminated
messages through Kannel.

The Setup: Debian (Sarge), Kannel 1.4.1 (from .deb packages), libxml 2.6.16-7

SMSC: Vodafone Germany, EMI


The Problem: I want to send the following test message: ABCDäöüÄÖÜß

Each time I send this message I receive ABCDäößÄÖ§ñ on the mobile phone.

Here are my requests to kannel:

ISO-8859-1 encoded:
http://SERVER:PORT/cgi-bin/sendsms?user=USERpassword=PASSto=RECIPIENTtext=ABCD%e4%f6%fc%c4%d6%dc%dfcharset=ISO-8859-1from=SHORTNUMBER

smsbox.log says:
2007-04-03 11:23:49 [762] [3] INFO: sendsms
sender:smsSender:SHORTNUMBER (IPADDRESS) to:RECIPIENT
msg:ABCDäöüÄÖÜß

This at least tells me that the characters are transmitted to kannel
correctly but on the mobile I receive ABCDäößÄÖ§ñ

If I send the following UTF-8 encoded request:
http://SERVER:PORT/cgi-bin/sendsms?user=USERpassword=PASSto=RECIPIENTtext=ABCD%c3%a4%c3%b6%c3%bc%c3%84%c3%96%c3%9c%c3%9fcharset=UTF-8from=SHORTNUMBER

smsbox.log says:
2007-04-03 11:29:12 [762] [3] INFO: sendsms
sender:smsSender:SHORTNUMBER (IPADDRESS) to:RECIPIENT
msg:ABCDäöüÃ84Ã96Ã9CÃ9F

The Mobile still receives ABCDäößÄÖ§ñ

It is interesting that at least ö, ä, Ö and Ä pass through correctly.

How can I find out, why ü, Ü and ß get garbled?

Regards,

Markus



Re: Special Characters and Kannel 1.4.1

2007-04-03 Thread Markus R.

Hi,

this one did the trick, thanks!

It's a hack, but now, it works as expected. When I find much time,
I'll dig for the real solution (probably never :-).

Thanks again,

Markus


On 4/3/07, Rodrigo Cremaschi [EMAIL PROTECTED] wrote:

Hi Markus,

   A hack for this problem: generate an MO with the special chars and
send it to Kannel. Use the characters you receive as a dictionary to
encode your MTs.

   Regards,

Rodrigo.

On 4/3/07, Markus R. [EMAIL PROTECTED] wrote:
 Hi,

 I have a problem sending special characters in mobile terminated
 messages through Kannel.

 The Setup: Debian (Sarge), Kannel 1.4.1 (from .deb packages), libxml 2.6.16-7

 SMSC: Vodafone Germany, EMI


 The Problem: I want to send the following test message: ABCDäöüÄÖÜß

 Each time I send this message I receive ABCDäößÄÖ§ñ on the mobile phone.

 Here are my requests to kannel:

 ISO-8859-1 encoded:
 
http://SERVER:PORT/cgi-bin/sendsms?user=USERpassword=PASSto=RECIPIENTtext=ABCD%e4%f6%fc%c4%d6%dc%dfcharset=ISO-8859-1from=SHORTNUMBER

 smsbox.log says:
 2007-04-03 11:23:49 [762] [3] INFO: sendsms
 sender:smsSender:SHORTNUMBER (IPADDRESS) to:RECIPIENT
 msg:ABCDäöüÄÖÜß

 This at least tells me that the characters are transmitted to kannel
 correctly but on the mobile I receive ABCDäößÄÖ§ñ

 If I send the following UTF-8 encoded request:
 
http://SERVER:PORT/cgi-bin/sendsms?user=USERpassword=PASSto=RECIPIENTtext=ABCD%c3%a4%c3%b6%c3%bc%c3%84%c3%96%c3%9c%c3%9fcharset=UTF-8from=SHORTNUMBER

 smsbox.log says:
 2007-04-03 11:29:12 [762] [3] INFO: sendsms
 sender:smsSender:SHORTNUMBER (IPADDRESS) to:RECIPIENT
 msg:ABCDäöüÃ84Ã96Ã9CÃ9F

 The Mobile still receives ABCDäößÄÖ§ñ

 It is interesting that at least ö, ä, Ö and Ä pass through correctly.

 How can I find out, why ü, Ü and ß get garbled?

 Regards,

 Markus