Safe Haskell | None |
---|---|
Language | Haskell98 |
Data.Text.Punycode
Documentation
encode :: Text -> ByteString
Encode a string into its ascii form
decode :: ByteString -> Either PunycodeDecodeException Text
Decode a string into its unicode form
punycode-2.0: Encode unicode strings to ascii forms according to RFC 3492
Safe Haskell | None |
---|---|
Language | Haskell98 |
Data.Text.Punycode
encode :: Text -> ByteString
Encode a string into its ascii form
decode :: ByteString -> Either PunycodeDecodeException Text
Decode a string into its unicode form