Module | IDN::Punycode |
In: |
stringprep.c
|
The Punycode module of LibIDN Ruby Bindings.
require 'idn' include IDN str = Punycode.decode('egbpdaj6bu4bxfgehfvwxn')
Converts Punycode to a string in UTF-8 format.
Raises IDN::Punycode::PunycodeError on failure.
Converts a string in UTF-8 format to Punycode.
Raises IDN::Punycode::PunycodeError on failure.