Hi!

On another strange thing is that if I send in UTF-8 instead of ISO (without charset=) kannel.log says:

Failed to convert msgdata from charset <ISO-8859-1> to <ISO-8859-1>, will send as is. And my handset does not receive the message...

Kind Regards,
stefan Cars


On Sun, 2 Sep 2007, Andreas Fink wrote:

I think the correct writing would be to say charset=iso-8850-1 or you simply send it as UTF-8 which is lossless.

On 02.09.2007, at 13:51, Stefan Cars wrote:

Hi!

We have upgraded an old Kannel server to latest cvs and have some
trouble handling charsets.  As I understand, earlier ISO-8859-1 was
standard charset but now UTF-8 is standard.

Our SMPP link has ISO-8859-1 as charset and this works well,
alt-charset is set and smsbox delivers the SMSes correctly, although
in the access_log since the upgrade the Swedish characters can't be
viewed. (Shown has dots).

More of a problem is the fact that we can't send through the CGI
sendsms interface anymore, all swedish characters does get corrupted
and adding charset=latin1 (as prosposed in a mail from alxeander
malysh in a mail when he submitted the patch to convert) is not
working, we get an error saying "Charset or body misformed, rejected".
We can't convert all applications sending in ISO-8859-1 to send in
UTF-8, it must be possible to send ISO-8859-1 to /sendsms ?

Kind Regards,
Stefan Cars


--
Stefan Cars
Snowfall Communications
http://www.snowfall.se
Tel: +46 (0)18 430 80 50 - Direct: +46 (0)18 430 80 51
Mobile: +46 (0)708 44 36 00 - Fax: +46 (0)708 44 36 04

Reply via email to