idna-0.2: Implements IDNA (RFC 3490).
Text.IDNA
Description
This module implements the two algorithms from RFC 3490. (http://tools.ietf.org/html/rfc3490)
Synopsis
acePrefix :: TextSource
The ASCII Compatible Encoding prefix (currently 'xn--').
xn--
toASCIISource
Arguments
Whether to allow unassigned code points (in RFC: AllowUnassigned).
Whether to disallow certain ASCII characters (in RFC: UseSTD3ASCIIRules).
The text to transform.
Implements the ToASCII algorithm.
toUnicodeSource