GSM Modem encoding problem | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through January 23, 2007 ⬆ |
◄ ► |
Author | Message | |||
LCT New member Username: Leon Post Number: 1 Registered: 11-2006 |
Hi, I have setup my GSM Modem and my SMPP client connected to NowSMS. It is not clear why my SMPP client always receive '@' and other chinese characters as a square from the GSM Modem (NowSMS). Is it because it always convert the UTF-8 string to ASCII for GSM Modem to the SMPP client? Thank you. SMSDEBUG.LOG: 15:53:41:578 [4] ModemReceiveMessages: Decoding received message index 1 from message storage ME 15:53:41:578 [4] ModemReceiveMessages: 06915669050010040A9156180884610000601103513562230100 15:53:41:578 [4] ModemReceiveMessages: SMSC address len = 6 15:53:41:578 [4] ModemReceiveMessages: SMSC Address = +6596500001 15:53:41:578 [4] ModemReceiveMessages: SMS Message Type = SMS-DELIVER 15:53:41:578 [4] ModemReceiveMessages: Sender address len = 10 15:53:41:578 [4] ModemReceiveMessages: Sender Address = +6581804816 15:53:41:578 [4] ModemReceiveMessages: PID = 00 15:53:41:578 [4] ModemReceiveMessages: DCS = 00 15:53:41:578 [4] ModemReceiveMessages: Anticipated user data length = 1 15:53:41:578 [4] ModemReceiveMessages: Message = @ 15:53:41:578 [4] ModemReceiveMessages: AT+CMGD=1 15:53:41:671 [4] ModemReceiveMessages: OK Best regards, Leon | |||
Malcolm - Now Support New member Username: Malcolm Post Number: 18 Registered: 12-2006 |
Hi Leon, We assume that SMPP clients will use the GSM character set when connecting to NowSMS to send and receive messages. In the GSM character set, the "@" character is encoded as a null. If you want to configure NowSMS to use the (more commonly understood by humans) iso-8859-1 character set, then you can edit SMSGW.INI, and add SMSCCharset=iso-8859-1 under an [SMPP] section header. This [SMPP] section header is different from any [SMPP - server:port] section headers that might be defined for external SMPP SMSC connections. Example: [SMPP] SMSCCharset=iso-8859-1 -- Malcolm Now Wireless Support |