High-performance Unicode and Punycode processing for internationalized domain names. The 'puny_encode()' / 'puny_decode()' helpers are a low-level, RFC 3492 compliant Punycode codec for domain labels (the 'xn–' ASCII-Compatible Encoding of RFC 5890/5891); they perform the raw transform plus letter-digit-hyphen checks and do not apply Unicode IDNA normalization. 'host_normalize()' is the Unicode Technical Standard #46 host-normalization entry point, mapping a host name to a canonical lowercase ASCII comparison form (non-transitional profile, pinned default Unicode version, selectable per call from the set the build ships). Aimed at host normalization and data analysis workflows. Used as the Punycode and IDNA engine by the 'pslr' and 'rurl' packages.
| Version: | 1.3.0 |
| Depends: | R (≥ 3.5.0) |
| Imports: | Rcpp (≥ 1.0.0) |
| LinkingTo: | Rcpp |
| Suggests: | testthat (≥ 3.0.0), knitr, rmarkdown, oysteR, rosv |
| Published: | 2026-09-30 |
| DOI: | 10.32614/CRAN.package.punycoder |
| Author: | Bart Turczynski |
| Maintainer: | Bart Turczynski <bartek at turczynski.pl> |
| BugReports: | https://gitlab.com/bart-turczynski/punycoder/-/issues |
| License: | MIT + file LICENSE |
| URL: | https://gitlab.com/bart-turczynski/punycoder, https://bart-turczynski.gitlab.io/punycoder/, https://CRAN.R-project.org/package=punycoder |
| NeedsCompilation: | yes |
| SystemRequirements: | GNU libidn2 (optional, for native punycode backend) |
| Language: | en-US |
| Citation: | punycoder citation info |
| Materials: | README, NEWS |
| CRAN checks: | punycoder results |
| Reference manual: | punycoder.html , punycoder.pdf |
| Vignettes: |
Introduction to punycoder (source, R code) |
| Package source: | punycoder_1.3.0.tar.gz |
| Windows binaries: | r-devel: punycoder_1.2.1.zip, r-release: punycoder_1.2.1.zip, r-oldrel: punycoder_1.2.1.zip |
| macOS binaries: | r-release (arm64): punycoder_1.2.1.tgz, r-oldrel (arm64): punycoder_1.2.1.tgz, r-release (x86_64): punycoder_1.3.0.tgz, r-oldrel (x86_64): punycoder_1.3.0.tgz |
| Old sources: | punycoder archive |
| Reverse imports: | pslr, rurl |
Please use the canonical form https://CRAN.R-project.org/package=punycoder to link to this page.