[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnokii 0.6.31 problem with german umlauts

From: Daniele Forsi
Subject: Re: gnokii 0.6.31 problem with german umlauts
Date: Fri, 17 Aug 2012 00:49:36 +0200

2012/8/16 Pawel Kot:

> That should be UTF-8 related I guess.

I can reproduce the bug with a non -UTF-8 locale and I will look into
it tomorrow

I did:
dpkg-reconfigure locales
and chose address@hidden
echo "This is a testmessage äöüÄÖÜß" | iconv -t iso-8859-15 >/tmp/x
export address@hidden
gnokii --phone fake --sendsms 1234567 </tmp/x
(to see the contents of the temporary file you also need to change the
encoding used by the terminal to display output because setting LANG
doesn't affect the running shell, only the processes started from it)

in the end I get the same PDU as the OP

this is the wrong output with ISO-8859-15 locale:
Input is 29 bytes long
SMS is 33 octets long

this is the right output with an UTF-8 locale and it is decoded
correctly with both locales
Input is 36 bytes long
SMS is 26 octets long

Daniele Forsi

reply via email to

[Prev in Thread] Current Thread [Next in Thread]