Euro character question

Euro character question SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through July 14, 2004 » Euro character question « Previous || Next »
Author Message
kevin jones
Unregistered guest
Posted on Friday, May 21, 2004 - 07:52 pm:   


I was just wondering when I get a reply from the NowSMS gateway the euro € sign comes up as a funny character like a square, is there any way I can get it to come up as a euro sign??

Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2643
Registered: 10-2002
Posted on Tuesday, May 25, 2004 - 02:00 pm:   

Hi Kevin,

How are you submitting the €uro character from your application?

Basically, NowSMS defaults to assuming that text is being submitted in UTF-8 format, and the €uro character is one of the commonly used characters that can cause issues.

If you are submitting via a URL, you can append "&charset=iso-8859-1" to your submitting URL, and this will tell NowSMS which character set you are using, so that it can convert the character appropriately.

Alternatively, you can encode the €uro character in UTF-8 format, where you would specify the following to represent the €uro character in a URL submission: %E2%82%AC

You mention a "reply", so I'm guessing that you're using a 2-way SMS command. Unfortunately, NowSMS assumes that the output of a 2-way command will be text in UTF-8 format. So to include the Euro in a reply via 2-way SMS, you would need to include the three hex characters referenced above. (We really should add support to allow a character set to be specified in the response to a 2-way command, so that the proper conversion can be applied.)

If the above doesn't get you anywhere, then there can also be character set issues if you are connecting to an HTTP based SMSC.

Try using the web interface of NowSMS to submit a message that includes the €uro. Does that work?

If it doesn't, then you may need to ask your SMS service provider what character set is expected by their web interface, so that you can send a €uro character. Within the appropriate [HTTP - ip.address:port] section of SMSGW.INI, it is possible to specify what character set to use when submitting SMS messages to the HTTP-based SMSC. For example, you could specify Charset=iso-8859-1 to use the normal ANSI character set for Western €urope.


Login Login / Register Logout Logout Search Last 30 Days Topics Topics