Problems with € character | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through May 12, 2004 ⬆ |
◄ ► |
Author | Message | |||
Deep Unregistered guest |
Hello, I´m currently using version 5.50 and sending SMS using the web interface provided by NowSMS. I tried to send just the € symbol and i get on my mobile phone the following text "a,!". I have looked in for the answer but there is no post that clears this issue, could you please help me? Im using clickatel http API trought NowSMS SMSC. Best Regards Deep | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 2242 Registered: 10-2002 |
Hi Deep, Hmm ... getting a specialised character like the "€" symbol through an HTTP based SMSC could present a challenge. How that character gets represented when submitting to the web site will depend on what character set that service expects in its URL parameters. The "€" symbol is part of the extended GSM character set. Since you're using Clickatell, my advice would be to get SMPP access enabled for your account, and configure NowSMS to use the SMPP interface instead of the HTTP interface. The SMPP protocol is specific to SMS, and can handle special character encoding much better. Since that is an option here, I would suggest getting the SMPP access enabled for your account, as it should resolve the problem. -bn | |||
Deep Unregistered guest |
Hi Bryce, Thank you for your reply. Your sugestion is correct, it works fine the € character trough SMPP, i have tested this type of integration before. I´m currently using HTTP API because Clicktell only lets you connect trough SMPP if you send over 5000 sms perm month, i have been disconnected after one month with SMPP. I will reach this volume only at production, for the moment i have to use HTTP for testing and development. Back to the main issue, i still dont understand if the problem is at the HTTP interface at NowSMS HTTP server or at the delivery to clickatell HTTP API or at clickatell delivery to mobile operator or at the mobile delivery to my phone!!!! The end users interface will be http based, how should i deliver the sms text to the NowSMS gateway with the € character. thank you for your attention. Best regards, Deep | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 2255 Registered: 10-2002 |
Deep, I think you're going to need to ask Clickatell how to submit the € through their HTTP interface. I've scanned their documentation, but it does not detail what character set should be used when submitting text messages to their service. The problem is that the HTTP API is ambiguous when it comes to character sets, especially for "special" characters such as "€". For submitting "€" to NowSMS via HTTP, we expect the text to be encoded in UTF-8 format. If you are having the users input text in a web page, you can force the input to UTF-8 format automatically by including the following in your HTTP header: <meta http-equiv=Content-Type content="text/html; charset=utf-8"> UTF-8 encoding for submitting the Euro "€" character is documented at the following link: http://www.nowsms.com/documentation/ProductDocumentation/sending_messages/sendin g_text_messages.htm It is possible to override the character set being used to submit a message to NowSMS by including a "charset=" parameter in the URL request. Currently supported values for the charset parameter are: iso-8859-1, us-ascii, big5 (big-5), gb2312 (gbk, gb2312-80), shift-jis (shift_jis), iso-8859-2, iso-8859-4, iso-8859-5, iso-8859-6, iso-8859-7, iso-8859-8, iso-8859-9. -bn |