uri-encode: Unicode aware uri-encoding.

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

Unicode aware uri-encoding.


[Skip to Readme]

Modules

[Index]

Flags

Manual Flags

NameDescriptionDefault
tools

Build executables

Disabled
Automatic Flags
NameDescriptionDefault
network-uri

Get Network.URI from the network-uri package

Enabled

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

Downloads

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

Candidates

Versions [RSS] 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 && <5), 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 && <0.4) [details]
License LicenseRef-OtherLicense
Author Silk
Maintainer code@silk.co
Revised Revision 1 made by AdamBergmark at 2014-09-11T13:14:37Z
Category Network, Web
Source repo head: git clone https://github.com/silkapp/uri-encode.git
Uploaded by AdamBergmark at 2014-08-18T12:24:53Z
Distributions Arch:1.5.0.7, Debian:1.5.0.6, Fedora:1.5.0.7, LTSHaskell:1.5.0.7, NixOS:1.5.0.7, Stackage:1.5.0.7
Reverse Dependencies 29 direct, 73 indirect [details]
Executables uri-decode, uri-encode
Downloads 25497 total (143 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Successful builds reported [all 1 reports]

Readme for uri-encode-1.5.0.3

[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.