473,508 Members | 2,011 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

WHY DOES "20%" SHOW UP IN ADDRESS? BLANK SPACE?

Hello, sometimes I have noticed that
in web addresses, the number:

20%

will show up in the address. I think this is
somehow related to a 'blank space', but am
unsure, does anyone know about this?

I have seen it mostly I think with netscape,
but also other programs.

www.website.com/page.html

might be listed as:

www.website.com/20%page20%.html

any ideas what it means?
Jul 23 '05 #1
2 37122
On 26 Sep 2004 21:50:51 -0700, barb28 <ba****@rock.com> declared in
comp.infosystems.www.authoring.html:
Hello, sometimes I have noticed that
in web addresses, the number:

20%
%20
will show up in the address. I think this is
somehow related to a 'blank space', but am
unsure, does anyone know about this?


http://www.blooberry.com/indexdot/ht...rlencoding.htm

--
Mark Parnell
http://www.clarkecomputers.com.au
Jul 23 '05 #2
barb28 wrote:
Hello, sometimes I have noticed that
in web addresses, the number:
20%
will show up in the address. I think this is
somehow related to a 'blank space', but am
unsure, does anyone know about this?


Not "20%", but "%20" I think you'll find. Yes it represents a space
character.

A percent sign followed by a two-digit hexadecimal number (a hexadecimal
digit is a number 0-9 or a letter A-F) can be used to encode various
characters.

Look at the "Hx" and "Char" columns in the first table here:
http://www.asciitable.com/

Notice that the "Hx" code for the character "Space" is "20". So that means
that a space in a website address can be encoded as "%20". Similarly the
code for an "o" is "%6F", so you can do a link to Google like this:
http://www.g%6F%6Fgle.c%6Fm/

With an "o" character, swapping "o" for "%6F" is silly as it makes the
address less readable. But with a space character, swapping for "%20" is
needed because website addresses aren't allowed to contain a real space
character (because otherwise it would be difficult to tell where they
begin and end!)

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

Jul 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2913
by: steve | last post by:
Hi, I need to do conditional script "include", but like to pull the code from db instead of a file. How do I do that? Reason: I like to implement some complex regex logic, and make it table...
8
2811
by: EBG | last post by:
I have a simple email form on my site but getting screwy results because I know alot of users are hitting "enter" instead of tab when doing the form. When they hit enter the entire form is...
7
2558
by: Ollej Reemt | last post by:
Hello, I would like to know if there is a difference in c++ between the following two method-declarations: void Method(); and void Method(void);
10
5586
by: serge | last post by:
Using "SELECT * " is a bad practice even when using a VIEW instead of a table? I have some stored procedures that are identical with the difference of one statement in the WHERE clause. If I...
13
4304
by: - Steve - | last post by:
I've been given a school assignment and while everything else is easy there's one topic I'm completley lost on. I've been given an ASCII file that looks like this. During start-up, the program...
12
3201
by: junky_fellow | last post by:
Which is better using a switch statement or the if-then equivalent of switch ?
1
3276
by: Mark Sandfox | last post by:
Is there a way to restrict the user to only selecting and sending either a ..gif or .jpg. Everything I have read says this option can not be done by design (security reasons). I find that irronic...
4
1652
by: thenewuser | last post by:
Hi all, I am working on windows 2000 and using php 5.0 and apache 2.0.59. I am facing a problem while parsing a text file.Actually I am using a pop server for parsing an email.I am downloading...
4
2231
by: stevong | last post by:
Hi everyone, I have a mailing list generated from php and sent out by mail(). But i often have broken graphics due to the fact that it randomly appends %20 to the html output! Anybody has...
0
7226
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7328
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7388
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7049
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5631
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4709
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3199
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
767
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
422
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.