SMS Server Tools 3
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

 Search
Custom Search

 Visitor locations
 
 SMS Server Tools 3 Community
Welcome, Guest. The forum is currently read-only, but will open soon. Thu Nov 21, 2024 22:51
SMSTools3 Community » Help and support Bottom

[solved] Chinese Char can not send correctly

Login and Post Reply

Page:  1

Author Post
Member
Registered:
Feb 2011
Location: China
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?

Member
Registered:
Feb 2011
Location: China
Topic owner
Resolved

use enca -x UNICODEBIG to convert message text and append it to header data

Don't use enca -x UCS2

Login and Post Reply

Page:  1

SMSTools3 Community » Help and support Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.