[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnokii 0.6.31 problem with german umlauts
From: |
Stefan Rupprecht |
Subject: |
gnokii 0.6.31 problem with german umlauts |
Date: |
Sun, 12 Aug 2012 15:46:06 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20120713 Thunderbird/14.0 |
Dear all,
since upgrade from gnokii 0.6.30 to 0.6.31, I've a problem with the
encoding of german umlauts.
---------------------------------------------------------------------------------------
eistest # echo "This is a testmessage äöüÄÖÜß" | gnokii --sendsms 1234567
GNOKII Version 0.6.31
LOG: debug mask is 0x1
Config read from file /root/.gnokiirc.
Cannot open logfile /root/.cache/gnokii/gnokii-errors
WARNING: cannot open logfile, logs will be directed to stderr
phone instance config:
model = fake
port = none
connection = serial
initlength = default
serial_baudrate = 19200
serial_write_usleep = -1
handshake = software
require_dcd = 0
smsc_timeout = 10
rfcomm_channel = 0
sm_retry = 0
Initializing...
Connecting
=====> ENTER gn_sms_send()
enc_chars: 29
ext_chars: 0
total: 26
size of the input string: 29 bytes
number of characters in the input string: 29 chars
=====> ENTER sms_send_single()
General Data Coding
Default Alphabet
size: 33
offset: 0
encoded size: 33
rawsms length: 37
rawsms user data length: 33
dcs: 0x00
Length: 0x25
user_data_length: 0x21
ValidityIndicator: 2
user_data: 54747A0E4ACF416110BD3CA7B7CBF379F85C06FD36E5DFEFF7FBFD7EBFDFEFF703
Input is 29 bytes long
SMS is 33 octets long
Sending
AT+CMGS=45
0011000781214365F70000002554747A0E4ACF416110BD3CA7B7CBF379F85C06FD36E5DFEFF7FBFD7EBFDFEFF703
Send succeeded with reference 1!
---------------------------------------------------------------------------------------
Decoding of the generated PDU shows that the german umlauts were not
correct encoded:
USER DATA PART OF SM
USER DATA LENGTH : 37 septets
USER DATA (TEXT) : This is a testmessage ?€????????????
With previous version 0.6.30, the encoding was correct:
(same pc, same compiler, same locale settings)
---------------------------------------------------------------------------------------
eistest # echo "This is a testmessage äöüÄÖÜß" | gnokii --sendsms 1234567
GNOKII Version 0.6.30
Couldn't read /root/.config/gnokii/config config file.
Couldn't read /etc/xdg/gnokii/config config file.
LOG: debug mask is 0x1
Config read from file /root/.gnokiirc.
Cannot open logfile /root/.cache/gnokii/gnokii-errors
WARNING: cannot open logfile, logs will be directed to stderr
phone instance config:
model = fake
port = none
connection = serial
initlength = default
serial_baudrate = 19200
serial_write_usleep = -1
handshake = software
require_dcd = 0
smsc_timeout = 10
rfcomm_channel = 0
sm_retry = 0
Initializing...
Connecting
Cannot read the SMSC number from your phone. If the sms send will fail, please
use --smsc option explicitely giving the number.
=====> ENTER gn_sms_send()
General Data Coding
Default Alphabet
encoded size: 26
rawsms length: 29
rawsms user data length: 26
dcs: 0x00
Length: 0x1d
user_data_length: 0x1a
ValidityIndicator: 2
user_data: 54747A0E4ACF416110BD3CA7B7CBF379F85C06EDF9FE2DD7EB01
Input is 29 characters long
SMS is 26 octets long
Number of extended alphabet chars: 0
Sending
AT+CMGS=38
0011000781214365F70000001D54747A0E4ACF416110BD3CA7B7CBF379F85C06EDF9FE2DD7EB01
Send succeeded with reference 1!
---------------------------------------------------------------------------------------
Decoding of PDU shows that the german umlauts were correct encoded:
USER DATA PART OF SM
USER DATA LENGTH : 29 septets
USER DATA (TEXT) : This is a testmessage äöüÄÖÜß
Can anybody help?
Stefan
- gnokii 0.6.31 problem with german umlauts,
Stefan Rupprecht <=
- Re: gnokii 0.6.31 problem with german umlauts, Pawel Kot, 2012/08/13
- Re: gnokii 0.6.31 problem with german umlauts, Stefan Rupprecht, 2012/08/13
- Re: gnokii 0.6.31 problem with german umlauts, Stefan Rupprecht, 2012/08/13
- Re: gnokii 0.6.31 problem with german umlauts, Pawel Kot, 2012/08/13
- Re: gnokii 0.6.31 problem with german umlauts, Stefan Rupprecht, 2012/08/16
- Re: gnokii 0.6.31 problem with german umlauts, Axel Gruber, 2012/08/16
- Re: gnokii 0.6.31 problem with german umlauts, Pawel Kot, 2012/08/16
- Re: gnokii 0.6.31 problem with german umlauts, Daniele Forsi, 2012/08/16
- Re: gnokii 0.6.31 problem with german umlauts, lsg, 2012/08/17
- Re: gnokii 0.6.31 problem with german umlauts, Daniele Forsi, 2012/08/18