puny_encode: Encode Punycode domains to IDNA

Description Usage Arguments Value Note See Also Examples

Description

Converts Punycode domains to IDNA.

Usage

1
puny_encode(domains)

Arguments

domains

character vector of IDNA domains

Value

a character vector of IDNA domains

Note

If there are any issues during the conversion, "Invalid" will be the value returned.

See Also

http://www.faqs.org/rfcs/rfc3492.html and http://www.faqs.org/rfcs/rfc3490.html and http://www.gnu.org/software/libidn/

Examples

1
2
3
4
5
6
## Not run: 
# See the vignette since character set problems prevent clean latex
# function example builds
vignette("introduction_to_punycode")

## End(Not run)

hrbrmstr/punycode documentation built on May 17, 2019, 5:12 p.m.