Support forum
9:15 am
Thanks Henk, I understood, the second apostrophe wasn't an ascii char but unicode.
I replaced it with the right char and now it works good.
I've bought the Basic Edition one year ago and your software is the best sms server I've ever used. Good work!
Regards
Stefano
Thank you for the log.
The message you are sending contains two different apostrophe characters, the ' (ASCII character 0x27) and the ’ (right single quotation mark, ’ or Unicode character 0x2019). The first apostrophe is part of the GSM default alphabet and a text that contains this character will be sent as text message. The second apostrophe is not part of the GSM default alphabet, a text that contains this character will be sent as a Unicode message by Diafaan SMS Server. You can use the message analyzer on our website to see if a message will be sent as text or unicode, and in how much message parts.
The GSM Modem Gateway does not have an option to substitute specific characters by a similar character, but in the basic- and full editions of Diafaan SMS Server it is possible to use the HTTP callback functionality in combination with a customized C# script to change the message before it enters Diafaan SMS Server. You can use this to substitute the right single quotation mark characters with the ASCII equivalent.
Regards, Henk
12:26 pm
Hello Henk, thanks for the support.
I've just sent an email with the LOG.
If I set type=automatic, the SMS will be sent using unicode. If I set type=sms.text the software replace the ' with the question mark.
It seams like the server consider the ' as unicode.
This happens only with the query string in web connector. If I paste the message in the server console, the message is sent correctly by the software.
Regards
Stefano
Hello Stefano,
I have not been able to replicate this issue. If I test it with a message containing the ' (0x27) character, the message is sent as a normal text message, not as a Unicode message. Also, the 'message-type=sms.text' parameter in the HTTP API call instructs the GSM Modem Gateway to use the GSM default alfabet encoding and convert all Unicode characters to question marks, so the message should not be sent as Unicode anyway.
I would like to see the full send log item for this message, you can right-click on the item in the send log page of the GSM Modem Gateway and select 'Export to file' to save the information to a file and send the file to email address dms@diafaan.com.
Regards, Henk
7:11 pm
Hello, I've this issue in the web connector.
Using the web connector GET call to /http/send-message?to={number}&message-type=sms.text&message={message}&username={u}&password={p}
If the messages contain the ' (Apostrophe) char the server use UNICODE instead TEXT.
I've tried to set the modem "BasicTextMode" but the chars are replaced with a ? (normal behavior) but the char apostrophe is not a UNICODE char.
If I send the same message with the server console, all will work good.
Can you help me please?
With esendex connector I had the same problem and I changed the c# script but for the modem I think this is not possible.
Bye
Stefano
Most Users Ever Online: 494
Currently Online:
3 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Member Stats:
Guest Posters: 628
Members: 0
Moderators: 0
Admins: 1
Forum Stats:
Groups: 2
Forums: 3
Topics: 1044
Posts: 3574
Newest Members:
, Henk HelmantelAdministrators: Henk Helmantel: 1341