sms inbox – decode html entity hex
- This topic has 1 reply, 2 voices, and was last updated 8 years ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Hi
I have the following data in my sms “inbox” in web menu of iSMS that i need to decode.
it is html entity hex format:
eg.
Ԁ
̎
Ȃ
m
a
p
s
.
For normal SMS i just use:
http://192.168.2.1:81/recvmsg?user=admin&passwd=admin
1. Is there a way to read this data as is and process it as needed?
I am losing the content using recvmsg ; as it is not pulling in the full info as required.
Thanks
Kamran
Hi Kamran,
The Inbox will show the hex value, for example “& #9986;”. (note I added a space to prevent the actual character being shown)
But the HTTP recvmsg message will also be URL encoded, so the above example would be displayed as “%26%239986%3B”, where the & was URL encoded to %26, the # to %23, and ; to %3B. Since these are html entity hex format characters, they probably shouldn’t be URL formatted, but currently the iSMS isn’t setup to look for these characters, so it will require an extra step to URL decode these characters when using HTTP recvmsg.
Bryon