RE: Special Characters and Kannel 1.4.1

2008-02-21 Thread Davor Spasoski
>From my experience I can tell you than the SMSCs supports only a small number 
>of alphabets, usually GSM and UCS-2. Even if your phone supports the 
>ISO-8859-1 the SMSC will try to convert the characters to the supported 
>alphabets and you will have a mismatch. Some SMSCs installed in countries not 
>using Latin may even use other default encodings.
My advice is to stick to GSM alphabet or UCS-2

Davor Spasoski



-Original Message-
From: Songhh [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 21, 2008 11:43 AM
To: users@kannel.org
Subject: Re: Special Characters and Kannel 1.4.1


Hi,

Can i know how u encode ur text ABCDäöüÄÖÜß to become ISO-8859-1 encoded
ABCD%e4%f6%fc%c4%d6%dc%df ?


Markus R. 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=USER&password=PASS&to=RECIPIENT&text=ABCD%e4%f6%fc%c4%d6%dc%df&charset=ISO-8859-1&from=SHORTNUMBER
>
> smsbox.log says:
> 2007-04-03 11:23:49 [762] [3] INFO: sendsms
> sender: (IPADDRESS) to:
> msg:
>
> 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=USER&password=PASS&to=RECIPIENT&text=ABCD%c3%a4%c3%b6%c3%bc%c3%84%c3%96%c3%9c%c3%9f&charset=UTF-8&from=SHORTNUMBER
>
> smsbox.log says:
> 2007-04-03 11:29:12 [762] [3] INFO: sendsms
> sender: (IPADDRESS) to:
> msg:Ã<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
>
>
>

--
View this message in context: 
http://www.nabble.com/Special-Characters-and-Kannel-1.4.1-tp9807411p15607269.html
Sent from the Kannel - User mailing list archive at Nabble.com.



COSMOFON - Mobile Telecommunications Services - A.D. Skopje
___
This  e-mail  (including   any   attachments) is   confidential and  may  be 
protected  by  legal  privilege.  If  you are not the intended recipient, you 
should not copy it, re-transmit it, use  it  or  disclose its contents, but 
should return it to the sender  immediately  and delete  your  copy from your 
system. Any unauthorized  use or dissemination of this message in whole or in 
part is strictly prohibited. Please note that e-mails are susceptible  to 
change. COSMOFON A.D. Skopje shall not be liable  for  the improper or  
incomplete transmission of the information contained in this communication nor 
for any delay in its receipt or damage to your system.




Re: Special Characters and Kannel 1.4.1

2008-02-21 Thread Songhh

Hi,

Can i know how u encode ur text ABCDäöüÄÖÜß to become ISO-8859-1 encoded
ABCD%e4%f6%fc%c4%d6%dc%df ?


Markus R. 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=USER&password=PASS&to=RECIPIENT&text=ABCD%e4%f6%fc%c4%d6%dc%df&charset=ISO-8859-1&from=SHORTNUMBER
> 
> smsbox.log says:
> 2007-04-03 11:23:49 [762] [3] INFO: sendsms
> sender: (IPADDRESS) to:
> msg:
> 
> 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=USER&password=PASS&to=RECIPIENT&text=ABCD%c3%a4%c3%b6%c3%bc%c3%84%c3%96%c3%9c%c3%9f&charset=UTF-8&from=SHORTNUMBER
> 
> smsbox.log says:
> 2007-04-03 11:29:12 [762] [3] INFO: sendsms
> sender: (IPADDRESS) to:
> msg:Ã<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
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Special-Characters-and-Kannel-1.4.1-tp9807411p15607269.html
Sent from the Kannel - User mailing list archive at Nabble.com.




Re: Special Characters and Kannel 1.4.1

2007-04-03 Thread Stipe Tolj

Markus R. 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=USER&password=PASS&to=RECIPIENT&text=ABCD%e4%f6%fc%c4%d6%dc%df&charset=ISO-8859-1&from=SHORTNUMBER 



smsbox.log says:
2007-04-03 11:23:49 [762] [3] INFO: sendsms
sender: (IPADDRESS) to:
msg:

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=USER&password=PASS&to=RECIPIENT&text=ABCD%c3%a4%c3%b6%c3%bc%c3%84%c3%96%c3%9c%c3%9f&charset=UTF-8&from=SHORTNUMBER 



smsbox.log says:
2007-04-03 11:29:12 [762] [3] INFO: sendsms
sender: (IPADDRESS) to:
msg:Ã<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?


now, I recall all this for Vodafone D2 years ago. I added the alt-charset things 
for Vodafone D2 here to the EMI/UCP module of Kannel.


See user's guide section for UCP smsc group:

http://www.kannel.org/download/kannel-userguide-snapshot/userguide.html#AEN1382

where you find:

alt-charset - number - Defines which character conversion kludge may be used for 
this specific link. Currently implemented alternative charsets are defined in 
"alt_charsets.h" and new ones can be added.


and in alt_charsets.h:

/*
 * for CMG's EMI/UCP, operators may use NCR (national representation
 * codes), like ISO 21 German for the german "Umlauts".
 * i.e. Vodafone D2 uses this charset kludges.
 */
#define EMI_NRC_ISO_21  3

this means setting:

  group = smsc
  smsc = emi
  ...
  alt-charset = 3
  ...

should do the kludge to use ISO 21 German representation for UCP/EMI connection 
and will map the ISO latin1 values internally. ;)


Stipe

---
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany

tolj.org system architecture  Kannel Software Foundation (KSF)
http://www.tolj.org/  http://www.kannel.org/

mailto:st_{at}_tolj.org   mailto:stolj_{at}_kannel.org
---



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=USER&password=PASS&to=RECIPIENT&text=ABCD%e4%f6%fc%c4%d6%dc%df&charset=ISO-8859-1&from=SHORTNUMBER
>
> smsbox.log says:
> 2007-04-03 11:23:49 [762] [3] INFO: sendsms
> sender: (IPADDRESS) to:
> msg:
>
> 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=USER&password=PASS&to=RECIPIENT&text=ABCD%c3%a4%c3%b6%c3%bc%c3%84%c3%96%c3%9c%c3%9f&charset=UTF-8&from=SHORTNUMBER
>
> smsbox.log says:
> 2007-04-03 11:29:12 [762] [3] INFO: sendsms
> sender: (IPADDRESS) to:
> msg:Ã<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 Rodrigo Cremaschi

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=USER&password=PASS&to=RECIPIENT&text=ABCD%e4%f6%fc%c4%d6%dc%df&charset=ISO-8859-1&from=SHORTNUMBER

smsbox.log says:
2007-04-03 11:23:49 [762] [3] INFO: sendsms
sender: (IPADDRESS) to:
msg:

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=USER&password=PASS&to=RECIPIENT&text=ABCD%c3%a4%c3%b6%c3%bc%c3%84%c3%96%c3%9c%c3%9f&charset=UTF-8&from=SHORTNUMBER

smsbox.log says:
2007-04-03 11:29:12 [762] [3] INFO: sendsms
sender: (IPADDRESS) to:
msg:Ã<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 Mads N. Vestergaard

Hi Markus,

Have you tried with another SMSC connection.

I know that TDC in Denmark for instance can't handle the swedish 
characters ÄÖ, and they will replace it with hte danosh characters ÆØ.


I'm not sure, but it might be the issue, so try to test it with another 
SMSC, or try asking Vodafone.


..
Med venlig hilsen / Best Regards

*Mads N. Vestergaard*
*Teknisk ansvarlig / CTO CoolSMS*
www.coolsms.com 
Phone:  +45 7026 1272
Fax:+45 7630 1046
Mobile: +45 5050 4222

This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they are 
addressed. If you have received this email in error please notify the 
system manager. This message contains confidential information and is 
intended only for the individual named. If you are not the named 
addressee you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system. If you are 
not the intended recipient you are notified that disclosing, copying, 
distributing or taking any action in reliance on the contents of this 
information is strictly prohibited.




Markus R. skrev:

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=USER&password=PASS&to=RECIPIENT&text=ABCD%e4%f6%fc%c4%d6%dc%df&charset=ISO-8859-1&from=SHORTNUMBER 



smsbox.log says:
2007-04-03 11:23:49 [762] [3] INFO: sendsms
sender: (IPADDRESS) to:
msg:

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=USER&password=PASS&to=RECIPIENT&text=ABCD%c3%a4%c3%b6%c3%bc%c3%84%c3%96%c3%9c%c3%9f&charset=UTF-8&from=SHORTNUMBER 



smsbox.log says:
2007-04-03 11:29:12 [762] [3] INFO: sendsms
sender: (IPADDRESS) to:
msg:Ã<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




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=USER&password=PASS&to=RECIPIENT&text=ABCD%e4%f6%fc%c4%d6%dc%df&charset=ISO-8859-1&from=SHORTNUMBER

smsbox.log says:
2007-04-03 11:23:49 [762] [3] INFO: sendsms
sender: (IPADDRESS) to:
msg:

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=USER&password=PASS&to=RECIPIENT&text=ABCD%c3%a4%c3%b6%c3%bc%c3%84%c3%96%c3%9c%c3%9f&charset=UTF-8&from=SHORTNUMBER

smsbox.log says:
2007-04-03 11:29:12 [762] [3] INFO: sendsms
sender: (IPADDRESS) to:
msg:Ã<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