Data_coding setting

Data_coding setting SearchSearch
Author Message
Frank
New member
Username: Lavalife

Post Number: 5
Registered: 10-2007
Posted on Thursday, December 06, 2007 - 04:24 am:   

Hi,
1. Could you summary the value for SMSCCharset?
2. If SMSC required 0 as ISO-8859-1, how to set up ? leave as default ?

Thanks,
Frank
Frank
New member
Username: Lavalife

Post Number: 6
Registered: 10-2007
Posted on Thursday, December 06, 2007 - 02:26 pm:   

I searched the posts and saw conflict value for ISO-8859.
1. value is 3(http://support.nowsms.com/discus/messages/1/22605.html)
2. value is 1(http://support.nowsms.com/discus/messages/53/15129.html)
Please advice

Thanks,
Frank
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7518
Registered: 10-2002
Posted on Friday, December 07, 2007 - 06:37 pm:   

Hi Frank,

If you set SMSCCharset=iso-8859-1, then NowSMS will set the SMPP data_coding value to 3 (and encode the text of the message in this character set).

This is to avoid ambiguity, as data_coding = 3 is the value defined in the SMPP specification to indicate that this character set is to be used.

A value of data_codng = 1 indicates that the GSM character set is being used.

data_coding = 0 indicates that the default for the SMSC is being used.

What does NowSMS do?

Default behaviour - data_coding = 0, text encoded using GSM character set.

SMSCCharset=iso-8859-1 - data_coding = 3, text encoding using iso-8859-1 (Latin).

SMSCCharset=IA5 - data_coding = 1, text encoding using GSM character set.

There is a configuration setting under "Advanced Settings" when you define an SMPP connection that sets these parameters. These parameters (SMSCCharset=xxxx) can also be defined manually in the SMSGW.INI file under the [SMPP - server:port] section of the INI file.

I mention this manual parameter definition because it sounds like you might want another setting that can only be made by a manual edit of SMSGW.INI.

Under the [SMPP - Server:port] section, you can define the following settings:

SMSCCharset=iso-8859-1
SMSCCharsetDefault=Yes

This setting tells NowSMS to use data_coding = 0, with text encoding using iso-8859-1 (Latin).

In most situations, you are better off explicitly telling the SMSC what character set you are using. But there are some SMSCs that do not understand this.

-bn

Frank
New member
Username: Lavalife

Post Number: 7
Registered: 10-2007
Posted on Friday, December 07, 2007 - 08:36 pm:   

Thanks and that's what I'm looking for.
One more question. Where can I find this parameter (SMSCCharsetDefault)defination if I don't post to here?