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 [faq] 1.5.0.1, 1.5.0.2, 1.5.0.3, 1.5.0.4, 1.5.0.5, 1.5.0.6, 1.5.0.7
Change log CHANGELOG.md
Dependencies base (==4.*), bytestring (>=0.9 && <0.11), network (>=2.2 && <2.4.1.0 || >2.4.1.0 && <2.6), network-uri (>=2.6), text (>=0.7 && <1.3), utf8-string (>=0.3 && <1.1) [details]
License BSD-3-Clause
Author Silk
Maintainer code@silk.co
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:1.5.0.7, Debian:1.5.0.5, Fedora:1.5.0.6, LTSHaskell:1.5.0.5, NixOS:1.5.0.6, Stackage:1.5.0.5, openSUSE:1.5.0.6
Executables uri-decode, uri-encode
Downloads 14820 total (583 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]

Modules

[Index] [Quick Jump]

Flags

NameDescriptionDefaultType
tools

Build executables

DisabledManual
network-uri

Get Network.URI from the network-uri package

EnabledAutomatic

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

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for uri-encode-1.5.0.7

[back to package description]

uri-encode

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.