Euro symbol
- This topic has 10 replies, 3 voices, and was last updated 9 years, 8 months ago by Bryon Davis.
-
AuthorPosts
-
March 10, 2015 at 1:46 pm #6789FlorianParticipant
I own an iSMS SF100 with the current firmware : 1.51.28.
I try to send an sms who contain the euro symbole (€) over the HTTP API.
My SMS Settings are :
PDU Enable
ASCII 7-bit : 3GPP 23.038I don’t know exactly how to use the Basic Character Set Extension who own the € character.
Did someone can explain to me ?
Thanks
March 10, 2015 at 2:10 pm #6790Bryon DavisModeratorFlorian,
Sorry the euro symbol isn’t currently support with ASCII (7 bit) and Extend ASCII (8 bit) messages on the iSMS. While the euro symbol is supported in the 3GPP 23.038 character set, the iSMS uses ISO-8859-1 internally for ASCII messages, which doesn’t support the euro symbol. Unicode messages do support the euro symbol.Bryon
March 10, 2015 at 2:13 pm #6791FlorianParticipantThanks for the answer Bryon,
So for now, there is no ways to send the euro symbol. That’s right ?
in this case i’ll continue to replace him by an E.
March 10, 2015 at 2:19 pm #6792Bryon DavisModeratorFor ASCII there isn’t a way.
But if you sent a message as Unicode you could send the euro symbol.
March 10, 2015 at 2:20 pm #6793FlorianParticipantI’ll try by unicode.
Thanks a lot
April 1, 2015 at 10:51 am #7087Alex WardenParticipantHi Bryon,
can you explain to me please, in what form do I have to submit my SMS-text for €-symbol (and other unicode ones) to show up?
I’ve tried sending “120€” to my phone with:
http://mywebsite.de/sendmsg?user=usr&passwd=pwd&cat=1&enc=0&to=12345&priority=3&text=120%E2%82%AC
but i receive only “120”.this is my config:
http://a.pomf.se/ufdjvc.pngand this is how 120%E2%82%AC gets recived by iSMS:
http://a.pomf.se/gvpiqo.pngthanks
April 1, 2015 at 12:32 pm #7091Bryon DavisModeratorAlex,
When using Unicode you must set the encoding option “enc” to 2 (Hex) or 3 (Decimal). When using Unicode, you must supply the Unicode values of the characters separated by semicolons.Here is an example of sending the message “120€” using hex values of Unicode:
Note that “&enc=2” which means the Unicode values should be hexadecimal values, and the the euro symbols Unicode hex value is “20AC”.
Bryon
April 2, 2015 at 6:03 am #7155Alex WardenParticipantGot it, thanks Bryon.
A follow-up question:
Is there a way to see messages which were sent as Hex-encoded in their decoded form at the iSMS-Outbox? Or do I have to manually decode every message if I want to read its contents?
http://a.pomf.se/yyldfm.pngAll URL-encoded messages (such as “enc=0&text=%C3%84%20%C3%96%20%C3%9C”) are all displayed in their decoded form at the Outbox (for the message above: “Ä Ö Ü”). Would be great if there was such option for hex ones.
April 2, 2015 at 8:42 am #7156Bryon DavisModeratorAlex,
Sorry, with Unicode the Outbox will only display the hex values. The Unicode hex values must be encoded and decoded. If you are using the API, many of the programming languages provide methods to convert between Unicode hex values and other encodings.Bryon
April 2, 2015 at 9:13 am #7165Alex WardenParticipantHi Bryon,
no question that one could convert values back and forth with other means,
but it would be much more convenient if admins could view sent/received messages directly in decoded form when managing iSMS-Moden through Web Management interface.
(Log-in, check what the users were up to, log off :))
Maybe you guys could add it as a feature in future firmware updates.Anyway, thanks again Bryon.
- This reply was modified 9 years, 8 months ago by Alex Warden.
April 2, 2015 at 9:36 am #7167Bryon DavisModeratorAlex,
A feature request has been created for viewing Unicode as readable text in the outbox.Bryon
-
AuthorPosts
- You must be logged in to reply to this topic.