Registry / networking / idn-ruby

idn-ruby

JSON →
library0.1.5rbrubygemsunverified

Ruby bindings for GNU LibIDN, implementing Stringprep, Punycode, and IDNA for internationalized domain names.

gem install idn-ruby
INSTALL
IMPORT
SIG · IDN-RUBY
I
idn-ruby
networkingrubyv0.1.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

IDN
require 'idn'

Convert internationalized domain name to ASCII compatible encoding

require 'idn' ace = IDN::Idna.toASCII('münchen.example') puts ace
Debug
Known issues
gotchaRequires GNU LibIDN library installed on system.
fix
Install libidn-dev (Linux) or use Homebrew (macOS).
affects: >= 0.1.0
Upgrade
Version history
0.1.5latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
idn-ruby — gem install idn-ruby · libregistry