puny
is an encoder/decoder for the punycode format
You can install the development version from GitHub with:
# install.packages("devtools")
devtools::install_github("romainfrancois/puny")
# dessert
puny::code( "crème brûlée" )
#> [1] "crme brle-13ar8s"
# emojis with the from `emo`
( s <- emo::ji_glue("emoji :poop: also work") )
#> emoji 💩 also work
puny::code( s )
#> [1] "emoji also work-s509o"
puny::decode( "crme brle-13ar8s" )
#> [1] "crème brûlée"
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.