uri-encode: Unicode aware uri-encoding

[ bsd3, library, network, web ] [ Propose Tags ]

This package allows you to uri encode and uri decode Strings, Texts and ByteString values.

[Skip to Readme]
Versions [RSS] [faq],,,,,,
Change log CHANGELOG.md
Dependencies base (==4.*), bytestring (>=0.9 && <0.12), network (>=2.2 && < || > && <2.6), network-uri (>=2.6), text (>=0.7 && <2.1), utf8-string (>=0.3 && <1.1) [details]
License BSD-3-Clause
Author Silk
Maintainer code@silk.co
Revised Revision 2 made by AdamBergmark at 2022-01-20T16:17:27Z
Category Network, Web
Source repo head: git clone https://github.com/silkapp/uri-encode.git
Uploaded by ErikHesselink at 2020-10-18T08:21:10Z
Distributions Arch:, Debian:, Fedora:, LTSHaskell:, NixOS:, Stackage:, openSUSE:
Executables uri-decode, uri-encode
Downloads 21066 total (369 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]


[Index] [Quick Jump]

Manual Flags


Build executables

Automatic Flags

Get Network.URI from the network-uri package


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees


Readme for uri-encode-

[back to package description]


Build Status

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.