Start a new topic

Issues with URL encoded JSON data

Issues with URL encoded JSON data


I am having issues with encoding/decoding JSON data between the iOS backend and the Architect View HTML page.  Any data containing specials characters (for e.g. @?) causes issues with rendering the architect view POIs.  

I have url encoded the JSON data on iOS side and am now getting all url encoded characters propogating through POI labels (for e.g. First%20Name).

Is there a way to decode these url encoded variables on the Architect View side using javascript? I have tried the javascript function decodeURIComponent() but this causes issues rendering issues with POI items also.

Any help would be appreciated.
Issue resolved.  unescape() performs necessary action.
Login or Signup to post a comment