URI::Escape

URI::Escape is a Perl module to escape and unescape unsafe characters.
Download

URI::Escape Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Gisle Aas
  • Publisher web site:
  • http://search.cpan.org/~gaas/

URI::Escape Tags


URI::Escape Description

URI::Escape is a Perl module to escape and unescape unsafe characters. URI::Escape is a Perl module to escape and unescape unsafe characters.SYNOPSIS use URI::Escape; $safe = uri_escape("10% is enoughn"); $verysafe = uri_escape("foo", "-377"); $str = uri_unescape($safe);This module provides functions to escape and unescape URI strings as defined by RFC 2396 (and updated by RFC 2732). A URI consists of a restricted set of characters, denoted as uric in RFC 2396. The restricted set of characters consists of digits, letters, and a few graphic symbols chosen from those common to most of the character encodings and input facilities available to Internet users: "A" .. "Z", "a" .. "z", "0" .. "9", ";", "/", "?", ":", "@", "&", "=", "+", "$", ",", "", # reserved "-", "_", ".", "!", "~", "*", "'", "(", ")"In addition, any byte (octet) can be represented in a URI by an escape sequence: a triplet consisting of the character "%" followed by two hexadecimal digits. A byte can also be represented directly by a character, using the US-ASCII character for that octet (iff the character is part of uric).Some of the uric characters are reserved for use as delimiters or as part of certain URI components. These must be escaped if they are to be treated as ordinary data. Read RFC 2396 for further details.Requirements:· Perl Requirements: · Perl


URI::Escape Related Software