sms inbox – decode html entity hex

Home Forums iSMS sms inbox – decode html entity hex

This topic contains 1 reply, has 2 voices, and was last updated by  Bryon Davis 2 years, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #15151

    Kamran Rana
    Participant

    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

    #15159

    Bryon Davis
    Moderator

    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

    • This reply was modified 2 years, 7 months ago by  Bryon Davis.
    • This reply was modified 2 years, 7 months ago by  Bryon Davis.
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.