Solved

Unable to decode/encode query string

Posted on 2014-09-02
3
84 Views
Last Modified: 2016-07-11
0
Comment
Question by:jmkotman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 58

Expert Comment

by:Gary
ID: 40299969
Encoded URL's use exactly the same encoding, no language does it differently since every encoded character is the same when en/de coded
How are you encoding it? Are you sure you are only encoding the querystring pair value
0
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 40300010
That is also known as "Percent" encoding because of the use of the % sign.  http://en.wikipedia.org/wiki/Percent-encoding  The example you give above decodes to a JSON string.
en_US#{"pid":3, "p":"my_calendar", "s":{"p":{"pid":22, "sn":{"pid":23, "caldt":"1409671119081", "bb":false, "calmd":1}, "ss":{"pid":24, "bppid":25}, "os":false, "calmr":"Nate", "calmrfn":"Art Negrete", "rh":0, "calmd":1}}, "rnd":0.17223242274485528}#{"pid":3, "p":"my_calendar", "s":{"p":{"pid":58, "sn":{"pid":59, "caldt":"1409702310950", "bb":false, "calmd":1}, "ss":{"pid":60, "bppid":61}, "os":false, "calmr":"Art", "calmrfn":"Art Negrete", "rh":0, "calmd":1}}, "rnd":0.4005250013433397}

Open in new window

0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question