Tcl API Reference -- ns_urlencode

### ns_urlencode

#### Overview

Encode characters in a URL

#### Syntax

ns_urlencode data

#### Description

This function encodes all the characters in data except the alphanumerics. The encoding for a character is a "%" followed by the two-character hexadecimal representation for the character. This encoding is defined in RFC1738, Uniform Resource Locators (URL).

Top of Page
Copyright © 1998-99 America Online, Inc.