2 Replies - 317 Views - Last Post: 06 July 2013 - 07:20 PM

#1 rneild  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 11
  • Joined: 05-October 12

Looking to interpret simple basic URL-encoding related search strings

Posted 06 July 2013 - 01:15 PM

Hello there dream in coders,

I was not sure which forum this question should go in to, as there isn't a HTML Forum. But this is more to do with basic URL encoding, my textbook is not adequate so I would like to ask if someone can interpret these search related strings for me?
The URL-encoded string: one=John+Smith. What does “one” represent?
the URL-encoded string: one=John+Smith. What does “+” represent?
the URL-encoded string: one=a%2Bb. What does %2B represent?
the URL-encoded string: one=P%2CQ. What does %2C represent?
the URL-encoded string: one=A@B. What does @ represent?
the URL-encoded string: two=Smith&three=2345. What does “&” represent?
the URL-encoded string: one=Smith+Jr.%2C. What does “%2C” represent?
the URL-encoded string: subject=Unix%3A. What does “%3A” represent?

these are from examples using a typical google search in a browser,
many thanks for your time,
Nelly

Is This A Good Question/Topic? 0
  • +

Replies To: Looking to interpret simple basic URL-encoding related search strings

#2 macosxnerd101  Icon User is offline

  • Self-Trained Economist
  • member icon




Reputation: 10188
  • View blog
  • Posts: 37,629
  • Joined: 27-December 08

Re: Looking to interpret simple basic URL-encoding related search strings

Posted 06 July 2013 - 01:39 PM

We actually do have an HTML/CSS forum. I'm going to move your thread to our Web Development forum though. :)
Was This Post Helpful? 0
  • +
  • -

#3 GunnerInc  Icon User is offline

  • "Hurry up and wait"
  • member icon




Reputation: 856
  • View blog
  • Posts: 2,246
  • Joined: 28-March 11

Re: Looking to interpret simple basic URL-encoding related search strings

Posted 06 July 2013 - 07:20 PM

You have a "text book" with Terabyte upon Terabyte of information - Internet Search!

One is a variable name.
URLs cannot contain spaces, so a space is replaced with a + sign (a space can also be encoded with %20, 20 is the Hex value of an ASCII space). John+Smith = John Smith
The rest, I will leave up to you to do some research on.

Passing variables in a URL
HTML URL Encoding Reference
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1