JavaScript

  1. Home
  2. Computing & Technology
  3. JavaScript
photo of Stephen Chapman

Stephen's JavaScript Blog

By Stephen Chapman, About.com Guide to JavaScript since 2004

Encoding Web Addresses

Monday January 12, 2009
Some characters have special meanings

There are a number of characters that have special meanings when they appear in web addresses. Those characters may also be needed as a part of the content of the address. In order that everything processing the address is able to tell the difference between those characters with and without their special meanings you need to encode the ones where you don't want the special meaning to apply. JavaScript provides not just one but two functions that you can call to do this encoding for you.

Encoding Web Addresses

Comments

No comments yet. Leave a Comment

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Discuss

Community Forum

Explore JavaScript

About.com Special Features

Build Your Own Website

Step-by-step advice on how to do everything from choosing a Web host to promoting your content. More >

Connect Your Home Computers

Easy ways to connect two computers for networking purposes. More >

JavaScript

  1. Home
  2. Computing & Technology
  3. JavaScript

©2009 About.com, a part of The New York Times Company.

All rights reserved.