Documentation ¶
Overview ¶
Package idn implements encoding from and to punycode as speficied by RFC 3492.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromPunycode ¶
FromPunycode returns unicode domain name from provided punycode string. This function expects punycode strings in lowercase.
func ToPunycode ¶
ToPunycode converts unicode domain names to DNS-appropriate punycode names. This function will return an empty string result for domain names with invalid unicode strings. This function expects domain names in lowercase.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.