Character set

"David Tully" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <00e201c34621$0ec2d320$0201a8c0@DELLLAPTOP>
Hi

I'm struggling to get this connection fully working - it's the one with the
non-standard message_id that I was mailing about last week.

I'm told it's GSM-7..

2003-07-09 12:46:39 [6] DEBUG:   data_coding: 0 = 0x00000000
2003-07-09 12:46:39 [6] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2003-07-09 12:46:39 [6] DEBUG:   sm_length: 4 = 0x00000004
2003-07-09 12:46:39 [6] DEBUG:   short_message:
2003-07-09 12:46:39 [6] DEBUG:    Octet string at 0x80d1f78:
2003-07-09 12:46:39 [6] DEBUG:      len:  4
2003-07-09 12:46:39 [6] DEBUG:      size: 5
2003-07-09 12:46:39 [6] DEBUG:      immutable: 0
2003-07-09 12:46:39 [6] DEBUG:      data: d4 f2 9c 0e               ....
2003-07-09 12:46:39 [6] DEBUG:    Octet string dump ends.
2003-07-09 12:46:39 [6] DEBUG: SMPP PDU dump ends.


I had a look at the kannel source and I saw it converts from gsm-7 to latin
by default if no alt_charset is set.
I'm just getting rubbish with this though..

The message is 'Test' and is 7-bit packed:

D4 1 1010100 = T
F2 11 110010 = e
9C 100 11100 = s
0E 0000 1110 = t


How do I convert it?

Regards,

David.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.