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]


[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

Package maintainers

For package maintainers and hackage trustees


Versions [RSS],,,,,,
Change log CHANGELOG.md
Dependencies base (>=4 && <5), bytestring (>=0.9 && <0.13), network (>=2.2 && < || > && <2.6), network-uri (>=2.6), text (>=0.7 && <2.2), utf8-string (>=0.3 && <1.1) [details]
License BSD-3-Clause
Author Silk
Maintainer code@silk.co
Revised Revision 3 made by AndreasAbel at 2023-10-10T21:28:50Z
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:
Reverse Dependencies 29 direct, 73 indirect [details]
Executables uri-decode, uri-encode
Downloads 25711 total (129 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

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.