| Keywords: Mode: All keywords (AND) |
|
Sat Apr 28, 2012 05:24
|
tanzhy: Resolved
use enca -x UNICODEBIG to convert message text and append it to header data
Don't use enca -x UCS2
|
|
Sat Apr 28, 2012 04:09
|
tanzhy: Operating system name and version: CentOS 5.5 32Bit
Version of smsd: 3.1.14
Smsd installed from: sources
Name and model of a modem / phone: USB GSM Modem
Interface: USB
When I use sendsms command , the chinese char can be sent correclly
But I create a sms file and copy to /var/spool/sms/outgoing , the chinese char can not be sent correctlly.
I study the sent item ,the messege text is encoded by UCS2
So I use enca command to convert messege test to UCS2 and append to the UTF-8 format header , but it does not works.
When I compare sent item, I obverse the order of the byte is reverse
using sendsms command ,the messege text is ^@e^@n^@g^@l^@i^@s^@h^@ N-e<87>
using enca command the messege text is
e^@n^@g^@l^@i^@s^@h^@ ^@-N<87>e
How can I resolv the problem?
|
|
Tue Mar 01, 2011 03:49
|
tanzhy: Hi keke
Thanks a lot , It works
|
|
Mon Feb 28, 2011 09:52
|
tanzhy: Operating system name and version: Windows server 2003
Version of smsd: 3.1.14
Smsd installed from: sources
Name and model of a modem / phone: Flyfot GSM adapter
Interface: USB
I get a cheap GSM adapter , and it not support AT+CMGF command, because only support PDU mode. I use :
AT+CMGS=155
> input pdu date end with ctrl + Z
the message will be send successful.
so I need to know how can I skip AT+CMGF=0 command when using smstools3?
|