-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Encode unicode strings to ascii forms according to RFC 3492 -- -- Encode unicode strings to ascii forms according to RFC 3492. It is -- written in pure Haskell, as opposed to gnuidn's -- Data.Text.IDN.Punycode. Please note that Data.Encoding.BootString from -- the encoding package also contains an implementation of the -- Punycode algorithm. @package punycode @version 1.0 module Data.Text.Punycode -- | Encode a string into its ascii form encode :: Text -> ByteString -- | Decode a string into its unicode form decode :: ByteString -> Text