External links
LibIdn crystal binding.
Add this to your application's shard.yml:
shard.yml
dependencies: idn: github: kostya/idn
require "idn" p Idn.to_ascii "топ-site.рф" # "xn---site-iyehw.xn--p1ai" p Idn.to_unicode "xn---site-iyehw.xn--p1ai" # "топ-site.рф"
idn
MIT License
Thu, 07 Nov 2024 00:07:23 GMT