WashNGo-2.12.0.1: WASH is a family of EDSLs for programming Web applications in Haskell.

WASH.Utility.URLCoding

Description

Implements coding of non-alphanumeric characters in URLs and CGI-requests.

Synopsis

Documentation

encode :: String -> StringSource

Perform URI encoding of a list of bytes. See http://www.w3.org/International/O-URL-code.html To encode a list of characters, the string first has to be UTF-8 encoded!

decode :: String -> StringSource

Perform URI decoding to a list of bytes.