uri-encode

Unicode aware uri-encoding.

Version on this page:1.5.0.3@rev:1
LTS Haskell 22.39:1.5.0.7@rev:3
Stackage Nightly 2024-10-31:1.5.0.7@rev:3
Latest on Hackage:1.5.0.7@rev:3

See all snapshots uri-encode appears in

LicenseRef-OtherLicense licensed by Silk
Maintained by [email protected]
This version can be pinned in stack with:uri-encode-1.5.0.3@sha256:455f71a45ce8ec3646f1215bf1476828fd01bb5fc1e228a6da6657c57b5f53be,2148

Module documentation for 1.5.0.3

  • Network
    • Network.URI
      • Network.URI.Encode

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.

Changes

1.5.0.3

  • Use network-uri instead of network when possible