Support forum

Advanced Search

— Forum Scope —

— Match —

— Forum Options —

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

Using smileys in SMS messages results in error
sp_NewPost Add Reply sp_NewTopic Add Topic
June 24, 2013
3:34 pm
Henk Helmantel
Forum Posts: 519
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Eric,

Thank you for the clear report. I have been able to reproduce the problem, as soon as we have found a solution I will send you a link with an updated plugin for the SMS Pro Gateway.

Regards, Henk

June 24, 2013
1:04 pm
Eric van Doorn

When someone sends a SMS message that contains a smiley, diafaan receives the following message from the Hypermedia SMS Pro Gateway:

2013/06/24 12:50:28.512 < {"direction": "in", "notification": "cdr", "port_num": "1", "number": "+31612977392", "datetime": "2013-06-24 12:50:06", "unicode": "8", "card_add": "21", "message": "Test3 \ud83d\ude35"}

This results in the following error being logged by Diafaan:

A valid UTF32 value is between 0x000000 and 0x10ffff, inclusive, and should not include surrogate codepoint values (0x00d800 ~ 0x00dfff).
Parameter name: utf32

The message is not logged as a received message. Switching the message type from automatic to Unicode does not help.

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 494

Currently Online:
9 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 354

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 512

Posts: 1773

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 519