strange character encode errors with SMPP!! help
"Patrick Mignott" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <07fb01c304ff$ffed76f0$0200a8c0@domainadmin> |
Stipe they are using a CMG smsc SMPP 3.3 charset=ISO-8859-1 what is strange is that the Characters display fine in the accesslog file by come out strange in the kannel log file see below normal access file send process [to:18763753224] [flags:0:1:0:0:0] [msg:41: test char = @ at $ dollar ' Apostrophe ] [udh:0:] ################### Now notice how the @ and $ sign are sent back as . (dots) 2003-04-15 15:43:30 [10] DEBUG: short_message: 2003-04-15 15:43:30 [10] DEBUG: Octet string at 0x80f3ad0: 2003-04-15 15:43:30 [10] DEBUG: len: 41 2003-04-15 15:43:30 [10] DEBUG: size: 42 2003-04-15 15:43:30 [10] DEBUG: immutable: 0 2003-04-15 15:43:30 [10] DEBUG: data: 20 74 65 73 74 20 63 68 test ch 2003-04-15 15:43:30 [10] DEBUG: data: 61 72 20 3d 20 20 00 20 ar = . 2003-04-15 15:43:30 [10] DEBUG: data: 61 74 20 02 20 64 6f 6c at . dol 2003-04-15 15:43:30 [10] DEBUG: data: 6c 61 72 20 27 20 41 70 lar ' Ap 2003-04-15 15:43:30 [10] DEBUG: data: 6f 73 74 72 6f 70 68 65 ostrophe 2003-04-15 15:43:30 [10] DEBUG: data: 20 2003-04-15 15:43:30 [10] DEBUG: Octet string dump ends. ############## also the apostrophe sign works file as a text response inside the symbol kannel for but is returned as ü / ' when using a CGI why?