Support forum

Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_TopicIcon
International characters web service
sp_NewPost Add Reply sp_NewTopic Add Topic
September 20, 2013
5:52 pm
Henk Helmantel
Admin
Forum Posts: 1510
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Rickard,

The HTTP API of the Web Connector in Diafaan SMS Server can handle messages with Unicode characters using URL (percentage) encoding. You can look in the send log of Diafaan SMS Server whether the characters are received correctly, if they are question marks in the send log then there might be something wrong with the URL encoding. An example URL with Swedish characters is:

If the message in the send log has the correct characters but you still receive the SMS with question marks on your phone then it is possible that Diafaan SMS Server converts the message because it is not sure that the GSM modem or SMPP connection can handle non-ASCII characters correctly. A possible reason and solution for this behavior can be found in this forum post.

Regards, Henk

September 20, 2013
4:29 pm
Rickard Engberg
Guest
Guests

Hello,

I'm trying to use the Diafaan web service to add messages to the message queue and it works fine, but I can't get international characters working. As the web request is a GET request (POST won't work, I tried that) I use url encoded requests to send my request. But no matter what I try, swedish characters become ? in the SMS.
How should I encode 'Swedish chars: ÅÄÖåäö' on the GET url so they turn up as correct letters.

I don't think this is an SMS topic, rather it's a Diafaan web service request topic.

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 529

Currently Online:
5 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 680

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 1155

Posts: 3945

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 1510