Documentation
¶
Overview ¶
Package idn implements encoding from and to punycode as speficied by RFC 3492.
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromPunycode ¶
func FromPunycode(s string) string
FromPunycode returns unicode domain name from provided punycode string.
func ToPunycode ¶
func ToPunycode(s string) string
ToPunycode converts unicode domain names to DNS-appropriate punycode names. This function would return incorrect result for strings for non-canonical unicode strings.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.