Filed Under: General

Using special characters in a file link

11 November 2008 No Comment

Today some people were uploading stuff with foot signs in the file name to one of my blogs. Obviously the links were all broken. I know the basic syntax for example for spaces (%2B), because you see it all the time, but I had to lookup the others in a book.

This small table can help us to fix URL’s …

Character URL Syntax Description
%2B Space ¹
%27 Foot Sign
%22 Quote
# %23 Number sign
% %25 Percent sign
& %26 Ampersand
+ \%2B Plus sign ¹
/ %2F Solidus (slash)
: %3A Colon
; %3B Semicolon
< %3C Less than
> %3E Greater than
? %3F Question mark
Character URL Syntax Description
+ Space
%27 Foot Sign
%26quot%3B Quote
# %23 Number sign
% %25 Percent sign
& %26amp%3B Ampersand
+ %2B Plus sign
/ %2F Solidus (slash)
: %3A Colon
; %3B Semicolon
< %26lt%3B Less than
> %26gt%3B Greater than
? %3F Question mark
%26%23153%3b Trademark
® %26%23174%3b Registered Trademark
© %26%23169%3b Copyright
Character URL Syntax Description
+ Space
%27 Foot Sign
%22 Quote
# %23 Number sign
% %25 Percent sign
& %26 Ampersand
+ %2B Plus sign
/ %2F Solidus (slash)
: %3A Colon
; %3B Semicolon
< %3C Less than
> %3E Greater than
? %3F Question mark






Like our posts? Then subscribe via Mail:

Email:  

Similar Posts:

Socialize:

delicious stumbleupon

Leave your response!

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="">

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.com.