gnokii-users
[Top][All Lists]
Advanced

[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
then:
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
Sending
AT+CMGS=45
0011000781214365F70000002554747A0E4ACF416110BD3CA7B7CBF379F85C06FD36E5DFEFF7FBFD7EBFDFEFF703

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
Sending
AT+CMGS=38
0011000781214365F70000001D54747A0E4ACF416110BD3CA7B7CBF379F85C06EDF9FE2DD7EB01

-- 
Daniele Forsi



reply via email to

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