punycode-0.0.1.0: Punycode encoder

Portabilityportable
Stabilityunstable
Maintainerjon.kristensen@pontarius.org

Data.Text.Punycode

Description

Uniquely and reversibly transform a Unicode string into an ASCII string. 0.0.2.0 will support going the other way - from ASCII to Unicode.

Synopsis

Documentation

encode :: String -> Maybe StringSource

Encodes a Unicode label to a Punycode-encoded ASCII string. The encoding does not prepend the IDNA "xn--" prefix. The output is lower-cased.