@hackage uri-encode1.5.0.7
Unicode aware uri-encoding
Categories
License
BSD-3-Clause
Maintainer
code@silk.co
Links
Versions
Installation
Tested Compilers
Dependencies (6)
- base >=4 && <5
- bytestring >=0.9 && <0.13
- network >=2.2 && <2.4.1.0 || >2.4.1.0 && <2.6
- network-uri >=2.6
- text >=0.7 && <2.2
- utf8-string >=0.3 && <1.1 Show all…
Dependents (35)
@hackage/Villefort, @hackage/advent-of-code-api, @hackage/rest-client, @hackage/ihp, @hackage/solr, @hackage/rosa, Show all…
Package Flags
tools
(off by default)
Build executables
network-uri
(on by default)
Get Network.URI from the network-uri package
uri-encode
This package allows you to uri encode and uri decode Strings,
Texts and ByteStrings.
The default is to encode everything but ASCII alphabetic characters,
decimal digits, and - _ . ~, according to RFC 3986.
It has support for all of unicode, by first encoding strings to UTF8,
and then encoding the individual bytes. This works both for network
> 2.4 (which also does this) and for older version.
Additionally, two command line utilities are provided if the package
is built with the tools flag: uri-encode and uri-decode.