Character sets

Character sets SearchSearch
Author Message
Chris
New member
Username: Chrisc

Post Number: 13
Registered: 12-2008
Posted on Tuesday, October 27, 2009 - 01:25 pm:   

Hi guys

We've been trying to submit messages using the ASCII Roman-8 character set, but when debugging our SMPP logs are showing that some characters such as the Euro symbol (€) and Pound (£) are still treated as GSM characters.

What exactly do we have to enter into our SMPP config to enable the Roman-8 character set?

Thanks
Chris
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1389
Registered: 08-2008
Posted on Tuesday, October 27, 2009 - 08:29 pm:   

Hi Chris,

From the "SMSC" list, select your SMPP connection and press "Properties". Then press "Advanced Settings", and change the "SMSC Character Set" to "iso-8859-1". To save this change, press "Ok", then "Ok" again (NowSMS will likely ask you if you want to stop the service to test the settings, and it is ok to say "No"). Finally, press "Apply" to save this change, and allow the service to restart.

The above is assuming that NowSMS is initiating the connection.

If, instead, an SMSC client is initiating the connection to NowSMS (account defined in the "SMS Users" list), then there is an "SMPP Options" setting on the "Web" page of the NowSMS configuration dialog which allows the default character set to be specified.

--
Des
NowSMS Support
Chris
New member
Username: Chrisc

Post Number: 14
Registered: 12-2008
Posted on Wednesday, October 28, 2009 - 01:12 pm:   

Hi Des

I've tried using the iso-8859-1 character set but that is not what I want at all.

We need to use a different character encoding that is not in the dropdown list in the "Advanced Settings" of NowSMS.

I've tried defining it in the SMSGW.INI file, but it doesn't seem to have any effect.

Any other ideas?

Thanks
Chris
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1391
Registered: 08-2008
Posted on Wednesday, October 28, 2009 - 01:32 pm:   

Hi Chris,

I need to see the raw SMPP data that you are talking about.

Also, any documentation from the provider about character sets.

"Roman-8" is not a character set referenced by the SMPP specification, so this is all very unusual.

You're not interfacing with Telstra, are you?

We did recently add some experimental support for the character set that they use. However, one of our customers discovered that on the Telstra network, it was not possible to send the Euro symbol (€) from one handset to another without it getting corrupted.

In any event, please provide more details on the character set being used ... the only references I can find to "Roman-8" refer to a proprietary HP character set, and I find it odd that would be used as an SMSC default character set.

--
Des
NowSMS Support
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1394
Registered: 08-2008
Posted on Wednesday, October 28, 2009 - 03:38 pm:   

Chris,

I was re-reading this thread, and I'm not sure that I understand the message flow.

Can you show me the SMPP details that you're looking at?

Let's take Pound (£) as an example.

If I'm configured to use iso-8859-1, it goes out as 0xA3.

If I'm configured to use the GSM character set, it goes out as 0x01.

It looks like this character would be encoded as 0xBB in the Roman-8 character set. Is that what you are looking for?

--
Des
NowSMS Support
Chris
New member
Username: Chrisc

Post Number: 15
Registered: 12-2008
Posted on Wednesday, October 28, 2009 - 04:47 pm:   

Hi Des

That is exactly what we're looking for.

I've configured the SMSGW.ini file with Charset=Roman-8 under the SMPP bind configuration but I cannot seem to get the Pound (£) encoded as BB when I log in the SMPP debug file.

The Euro (€) symbol however is correctly encoded as 1B 65

Can you help?

Thanks
Chris
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1396
Registered: 08-2008
Posted on Wednesday, October 28, 2009 - 05:00 pm:   

Hi Chris,

That's interesting. Some Roman8 character set documentation suggests the Euro should be encoded as 0xBA. But traditional HP Roman8 character set encoding was defined well before the Euro.

Unfortunately, there's no way to do this encoding without an update. I've got someone working on putting together the necessary update right now.

--
Des
NowSMS Support
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7865
Registered: 10-2002
Posted on Wednesday, October 28, 2009 - 10:02 pm:   

Hi Chris,

There is an updated build of NowSMS at http://www.nowsms.com/download/nowsmsupdate.zip.

This update includes an "SMSC Character Set" option for "Roman8".

-bn