idn-0.1.2.0: Pure Haskell IDN and Punycode implementation
Safe HaskellNone
LanguageHaskell2010

Data.Text.IDN.Internal.Punycode

Description

Internal Punycode encoding/decoding implementation per RFC 3492.

This module contains the low-level implementation details. For public API, see Punycode.

Synopsis

Documentation

encodePunycode :: Text -> Either PunycodeError Text Source #

Encode Unicode text to Punycode using ST monad and mutable arrays for performance

decodePunycode :: Text -> Either PunycodeError Text Source #

Decode Punycode to Unicode text