Greek text with 160 characters | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through April 11, 2011 ⬆ |
◄ ► |
Author | Message | |||
ARIS VLOTOMAS New member Username: Pqow7747 Post Number: 1 Registered: 02-2011 |
Hi, I am trying to send a greek SMS through the web API which automatically created on installation and i see that i can send a message of 300 greek characters with 2 messages. When send via URL the same message, i need 4 messages to send it. Do i need to change something on the &charset field? Isn't it automatically identify the greek characters and use the appropriate charset as Web API does? | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 2901 Registered: 08-2008 |
Hi Aris, If the same text is working fine from the built-in web interface, then yes, you would need to either add the "&charset=" parameter or encode the text using the UTF-8 format. The form for the web interface tells the browser to submit the text in UTF-8 format. If you are not using UTF-8 when you build your URLs, then you need to specify the character set in the "&charset=" parameter. In most likelihood, you would use "&charset=iso-8859-7". -- Des NowSMS Support | |||
ARIS VLOTOMAS New member Username: Pqow7747 Post Number: 2 Registered: 02-2011 |
Hi, I have the following sms that i need to send it through HTTP Request. 'ΚΥΡΙΕ ΠΑΠΑΔΟΠΟΥΛΕ, ΕΧΕΤΕ ΚΕΡΔΙΣΕΙ ΜΙΑ ΚΡΟΥΑΖΙΕΡΑ ΓΙΑ ΕΛΛΗΝΙΚΑ ΝΗΣΙΑ ΑΞΙΑΣ €1000 ΓΙΑ ΔΥΟ ΑΤΟΜΑ. ΠΑΡΑΚΑΛΩ ΕΠΙΚΟΙΝΩΝΗΣΤΕ ΜΑΖΙ ΜΑΣ ΓΙΑ ΝΑ ΠΑΡΑΛΑΒΕΤΕ ΤΟ ΔΩΡΟ ΣΑΣ. ΕΚ ΤΗΣ ΔΙΕΥΘΥΝΣΕΩΣ.' which is 177 characters length. How can i send this message with only 2 sms? When i send the message, i only receive the characters that are common to the greek and english language. The rest characters are not even displayed. | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 2920 Registered: 08-2008 |
Hi, It depends on what character set your application is using to encode the text. Most likely you are using native Greek encoding, in which case you need to append "&charset=iso-8859-7" to the URL. If you do not include this parameter, NowSMS assumes that you are using UTF-8 character encoding (language independent Unicode format), which will cause the text to be interpreted incorrectly if it is not in UTF-8 encoding. -- Des NowSMS Support |