punycode-0.5: Encode unicode strings to ascii forms according to RFC 3492

Safe HaskellSafe-Infered

Data.Text.Punycode

Synopsis

Documentation

encode :: String -> ByteStringSource

Encode a string into its ascii form

decode :: ByteString -> StringSource

Decode a string into its unicode form