-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Punycode encoder -- -- Punicode library to uniquely and reversibly transform a Unicode string -- into an ASCII string. This is a partial implementation of RFC 3492: -- Punycode: A Bootstring encoding of Unicode for Internationalized -- Domain Names in Applications (IDNA). 0.0.2.0 will ship with support -- for Punycode decoding. The code is currently prototyped and untested. @package punycode @version 0.0.1.0 -- | 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. module Data.Text.Punycode -- | Encodes a Unicode label to a Punycode-encoded ASCII string. The -- encoding does not prepend the IDNA "xn--" prefix. The output -- is lower-cased. encode :: String -> Maybe String