Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
Text.IDNA
Description
This module implements the two algorithms from RFC 3490. (http://tools.ietf.org/html/rfc3490)
Documentation
Arguments
:: Bool | Whether to allow unassigned code points (in RFC: AllowUnassigned). |
-> Bool | Whether to disallow certain ASCII characters (in RFC: UseSTD3ASCIIRules). |
-> Text | The text to transform. |
-> Maybe Text |
Implements the ToASCII algorithm.