Search the list for identical issues, they are common
the smsc uses UCS2 anyway
use iconv to convert from your german encofing to UCS2
example of perl implementation of Bulgarian Cyrilic cp1251
before xml post to be injected
if ($data->{cyr} == 1) {
$encoding="ucs-2be";
$converter = Text::Iconv->new("cp1251", $encoding);
$data->{sms}= $converter->convert($data->{sms});
$data->{sms}= hex_encode($data->{sms}, '%');
$coding=2;
$alt_dcs=-1;
}
php is much convenient
Falko Ziemann wrote:
> Hi,
>
> I try to send some special character (german umlauts äöü) over a smpp
> connection to a smsc running iso-8859-1 charset. My config says:
> alt-charset = ISO-8859-1
>
> But I see in the connection log:
> [...]
> 2008-11-11 16:10:35 [4332] [12] DEBUG: data: 78 20 7c 7b 7e 24 00
> 20 31 36 3a 31 30 x |{~$. 16:10
> [...]
> which are umlauts in IA5 (7c 7b 7e).
>
> gw_config.h says: #define HAVE_ICONV_H 1
> iconv -l contains ISO-8859-1
>
> Can I anyone tell how get kannel to accept the alt-charset? The provider
> only supports 8859-1 (yeah, that's sick, I know...)
>
> Thanks
> Falko
>
>
>