Hyperlinks and querystrings may contain special characters that you wish to use. These can be placed in a link on HTML pages with special encoding.
In Microsoft ASP this can be established with:
<% Server.URLencode("String") 'for querystrings Server.URLpathencode("String") 'for filenames %>
In PHP you can do the same by using the following syntax which is the server.URLencode and Server.URLpathencode equivalent:
<? urlencode("String"); //for querystrings rawurlencode("String"); //for filenames ?>
If you are not using server-sided code on your website you can use the following tool which converts any given text to its URLencoded (or URLpathencoded) equivalent. The tool produces hyperlinks or querystring variables which you can easily copy and paste to your own web pages.
Enter the characters you wish to URLencode below:
Click here if you want to HTMLencode text
If you are a designer and in need of help by one of the programmers from Voormedia, please do not hesitate to contact us by phone or e-mail.