stuartbishop.net

Unicode email address conversion

An Email Address class that allows conversion between Unicode and ASCII. Conversion is non-trivial, as three different encoding mechanisms are needed to encode a Unicode email address into ASCII (RFC2047, IDNA and ASCII).