Hets - the Heterogeneous Tool Set

Copyright(c) Christian Maeder DFKI GmbH 2014
LicenseGPLv2 or higher, see LICENSE.txt
MaintainerChristian.Maeder@dfki.de
Stabilityprovisional
Portabilityportable
Safe HaskellSafe

Common.Percent

Description

precent encode or decode URLs, URIs and IRSs via UTF8 http:/tools.ietf.orghtml/rfc3986

Synopsis

Documentation

encodeBut :: (Char -> Bool) -> String -> String Source #

reserved :: String Source #

genDelim :: String Source #

subDelim :: String Source #

dolDelim :: String Source #

isUnreserved :: Char -> Bool Source #

encode :: String -> String Source #

encode all chars but not the unreserved (ascii) ones

decode :: String -> String Source #

decode percent signs followed by two hex-digits