| punycoder-package | R Documentation |
Provides high-performance functions for processing internationalized domain names, split across two tiers.
The package exposes two distinct surfaces, deliberately kept separate:
A low-level Punycode codec (puny_encode() / puny_decode()):
the raw RFC 3492 transform with xn-- A-label framing (RFC 5890/5891)
and letter-digit-hyphen checks. It performs no Unicode normalization.
An IDNA/UTS-46 host-normalization surface (host_normalize()):
Unicode NFC, UTS #46 mapping and validation, and conversion to a
canonical lowercase ASCII comparison form under a pinned profile.
Use the codec when you need the literal ASCII-Compatible Encoding of a
label; use host_normalize() when you need a standards-profiled
comparison form for a host name.
Maintainer: Bart Turczynski bartek@turczynski.pl (ORCID)
Authors:
Bart Turczynski bartek@turczynski.pl (ORCID)
Useful links:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.