Sending @ character

Sending @ character SearchSearch
Author Message
Ali Shahbour
New member
Username: Shahbour

Post Number: 10
Registered: 10-2005
Posted on Tuesday, October 17, 2006 - 01:37 pm:   

Hello i am trying to send the @ character using HTTP but i am unable it is cutting the message at the position of @, i tried it using SMPP and it is working, even i tried the directly from nowsms web interface adn it didn't work. how can i solve this
Ali Shahbour
New member
Username: Shahbour

Post Number: 11
Registered: 10-2005
Posted on Tuesday, October 17, 2006 - 10:05 pm:   

I tried to encode it with %40 but this didn't work out
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 6692
Registered: 10-2002
Posted on Wednesday, October 18, 2006 - 08:43 pm:   

Hi,

Are you interfacing to an SMPP SMSC?

Try going into "Properties" for the SMSC in NowSMS, and under "Advanced Settings", change "SMSC Character Set" to "iso-8859-1 (Latin)".

My guess is that your SMSC is using this character set instead of the GSM character set. In the GSM character set, the "@" character is represented by NULL. In the iso-8859-1 NULL represents the end of a string of text ... so that is why the text would be getting truncated at the "@" character.

-bn
ben stein
New member
Username: Hoist2k

Post Number: 1
Registered: 11-2006
Posted on Tuesday, November 21, 2006 - 06:40 pm:   

Were you even able to solve this problem?

I am having the same issue using an external modem (Multitech GPRS) and posting via the HTTP interface (http://host:8800/?PhoneNumber=xxxxx&Text=this+is+a+test+from+me@domain).

Everything I am sending is (presumably) UTF-8. I encoded my URL with %40 with no change.

I also tried changing character sets in the .ini files and appending charset= to the end of the URL. No help.

Tried with 2006 & 5.51.

Any other suggestions?
Ali Shahbour
New member
Username: Shahbour

Post Number: 15
Registered: 10-2005
Posted on Wednesday, November 22, 2006 - 02:36 pm:   

As Bryce said i changed the GSM character and it worked out
ben stein
New member
Username: Hoist2k

Post Number: 2
Registered: 11-2006
Posted on Wednesday, November 22, 2006 - 03:50 pm:   

Hmmm... I'm connecting with a GSM Modem directly and not SMPP, so I don't have any such option for changing character sets.

Bryce - any ideas?
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 6886
Registered: 10-2002
Posted on Friday, December 15, 2006 - 09:26 pm:   

Ben,

There is no general problem with sending the "@" symbol using a GSM modem.

This character causes problems in some SMPP configurations, because different service providers are expecting different character sets to be used.

What happens? Is the "@" character replaced with another character, or is the message truncated?

Are you in the US? Are you sending cross operator (modem SIM from one operator, sending to phone on another operator)? I have seen reports of problems sending the "@" character across some of the interoperator connections in the US ... but I do not recall specifics.

-bn