Hello,
Lets first take a look at the logs for the system that is using the stable
1.4.1 :
Here is the message i try to send: " j'ai été élève comme petit garçon à
Goma au Zaïre "
tried to make a sentence that contains as much as possible special chracters
smsbox.log
2007-03-20 08:08:21 [6097] [3] INFO: smsbox: Got HTTP request
</cgi-bin/sendsms> from <127.0.0.1>
2007-03-20 08:08:21 [6097] [3] INFO: smsbox: Got HTTP request
</cgi-bin/sendsms> from <127.0.0.1>
2007-03-20 08:08:21 [6097] [3] INFO: sendsms used by <tester>
2007-03-20 08:08:21 [6097] [3] INFO: sendsms used by <tester>
2007-03-20 08:08:21 [6097] [3] INFO: sendsms sender:<tester:25008312934>
(127.0.0.1) to:<25008312934> msg:<j'ai été élève comme petit garçon à Goma
au Zaïre >
2007-03-20 08:08:21 [6097] [3] INFO: sendsms sender:<tester:25008312934>
(127.0.0.1) to:<25008312934> msg:<j'ai été élève comme petit garçon à Goma
au Zaïre >
2007-03-20 08:08:21 [6097] [3] DEBUG: Stored UUID
61be0cb8-45f9-44ed-8979-3d4ad912567c
2007-03-20 08:08:21 [6097] [3] DEBUG: message length 50, sending 1 messages
2007-03-20 08:08:21 [6097] [3] DEBUG: Status: 202 Answer: <Sent.>
2007-03-20 08:08:21 [6097] [3] DEBUG: Delayed reply - wait for bearerbox
2007-03-20 08:08:21 [6097] [0] DEBUG: Got ACK (0) of
61be0cb8-45f9-44ed-8979-3d4ad912567c
2007-03-20 08:08:21 [6097] [0] DEBUG: HTTP: Destroying HTTPClient area
0x81896e8.
2007-03-20 08:08:21 [6097] [0] DEBUG: HTTP: Destroying HTTPClient for
`127.0.0.1'.
sms-c.log
2007-03-20 08:11:28 [6072] [16] DEBUG: send_msg: sending msg to box:
<127.0.0.1>
2007-03-20 08:11:28 [6072] [6] DEBUG: SMPP[smsc]: Manually forced source
addr ton = 0, source add npi = 0
2007-03-20 08:11:28 [6072] [6] DEBUG: SMPP[smsc]: Manually forced dest addr
ton = 0, dest add npi = 0
2007-03-20 08:11:28 [6072] [6] DEBUG: SMPP[smsc]: Sending PDU:
2007-03-20 08:11:28 [6072] [6] DEBUG: SMPP PDU 0x48300578 dump:
2007-03-20 08:11:28 [6072] [6] DEBUG: type_name: submit_sm
2007-03-20 08:11:28 [6072] [6] DEBUG: command_id: 4 = 0x00000004
2007-03-20 08:11:28 [6072] [6] DEBUG: command_status: 0 = 0x00000000
2007-03-20 08:11:28 [6072] [6] DEBUG: sequence_number: 109 = 0x0000006d
2007-03-20 08:11:28 [6072] [6] DEBUG: service_type: NULL
2007-03-20 08:11:28 [6072] [6] DEBUG: source_addr_ton: 0 = 0x00000000
2007-03-20 08:11:28 [6072] [6] DEBUG: source_addr_npi: 0 = 0x00000000
2007-03-20 08:11:28 [6072] [6] DEBUG: source_addr: "25008312934"
2007-03-20 08:11:28 [6072] [6] DEBUG: dest_addr_ton: 0 = 0x00000000
2007-03-20 08:11:28 [6072] [6] DEBUG: dest_addr_npi: 0 = 0x00000000
2007-03-20 08:11:28 [6072] [6] DEBUG: destination_addr: "25008312934"
2007-03-20 08:11:28 [6072] [6] DEBUG: esm_class: 3 = 0x00000003
2007-03-20 08:11:28 [6072] [6] DEBUG: protocol_id: 0 = 0x00000000
2007-03-20 08:11:28 [6072] [6] DEBUG: priority_flag: 0 = 0x00000000
2007-03-20 08:11:28 [6072] [6] DEBUG: schedule_delivery_time: NULL
2007-03-20 08:11:28 [6072] [6] DEBUG: validity_period: NULL
2007-03-20 08:11:28 [6072] [6] DEBUG: registered_delivery: 0 = 0x00000000
2007-03-20 08:11:28 [6072] [6] DEBUG: replace_if_present_flag: 0 =
0x00000000
2007-03-20 08:11:28 [6072] [6] DEBUG: data_coding: 0 = 0x00000000
2007-03-20 08:11:28 [6072] [6] DEBUG: sm_default_msg_id: 0 = 0x00000000
2007-03-20 08:11:28 [6072] [6] DEBUG: sm_length: 50 = 0x00000032
2007-03-20 08:11:28 [6072] [6] DEBUG: short_message:
2007-03-20 08:11:28 [6072] [6] DEBUG: Octet string at 0x48300480:
2007-03-20 08:11:28 [6072] [6] DEBUG: len: 50
2007-03-20 08:11:28 [6072] [6] DEBUG: size: 51
2007-03-20 08:11:28 [6072] [6] DEBUG: immutable: 0
2007-03-20 08:11:28 [6072] [6] DEBUG: data: 6a 27 61 69 20 e9 74 e9 20
e9 6c e8 76 65 20 63 j'ai .t. .l.ve c
2007-03-20 08:11:28 [6072] [6] DEBUG: data: 6f 6d 6d 65 20 70 65 74 69
74 20 67 61 72 e7 6f omme petit gar.o
2007-03-20 08:11:28 [6072] [6] DEBUG: data: 6e 20 e0 20 47 6f 6d 61 20
61 75 20 5a 61 ef 72 n . Goma au Za.r
2007-03-20 08:11:28 [6072] [6] DEBUG: data: 65 20
e
2007-03-20 08:11:28 [6072] [6] DEBUG: Octet string dump ends.
2007-03-20 08:11:28 [6072] [6] DEBUG: SMPP PDU dump ends.
2007-03-20 08:11:28 [6072] [6] DEBUG: SMPP[smsc]: Got PDU:
2007-03-20 08:11:28 [6072] [6] DEBUG: SMPP PDU 0x48300578 dump:
2007-03-20 08:11:28 [6072] [6] DEBUG: type_name: submit_sm_resp
2007-03-20 08:11:28 [6072] [6] DEBUG: command_id: 2147483652 = 0x80000004
2007-03-20 08:11:28 [6072] [6] DEBUG: command_status: 0 = 0x00000000
2007-03-20 08:11:28 [6072] [6] DEBUG: sequence_number: 109 = 0x0000006d
2007-03-20 08:11:28 [6072] [6] DEBUG: message_id: "64cb513"
2007-03-20 08:11:28 [6072] [6] DEBUG: SMPP PDU dump ends.
----- Original Message -----
From: "Stipe Tolj" <[EMAIL PROTECTED]>
To: "Kaneza Innocent" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Tuesday, March 20, 2007 05:35
Subject: Re: Libxml2 and special characters
Kaneza Innocent wrote:
Hi,
i have a serious problem of sending special characters such as french
accents and so on like if i want to send é,è, ç, and others they dont
pass. is it a Libxml2 problem or what? i do specify that the encoding is
UTF-8 but still the problem persist.
I am using two different versions of kannel tha stable 1.4.1 and the cvs
build 20070226 and using libxml2
now, this is all a matter of character set encoding.
First of all, 1.4.1 stable has been using still the 'latin1' internal
encoding, so you would *LOOSE* specific chars that are in UCS-2 or UTF-8
while convertion to latin1 and passing to bearerbox.
This has changed with Alex's patch for CVS to use UTF-8 internally.
Still it depends which SMSC protocol you use and what encoding scheme is
indicated.
Ie. if you are using SMPP and dcs=0 means 7bit GSM 03.38 encoding for that
SMSC, then it *should* work for the refered chars.
Please provide some debug level logs of bearerbox passing PDUs to SMSC to
have a closer look into it.
Stipe
-------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany
tolj.org system architecture Kannel Software Foundation (KSF)
http://www.tolj.org/ http://www.kannel.org/
mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------