decode/1 | Convert Punycode to Unicode. |
encode/1 | Convert Unicode to Punycode. |
decode(Input::string()) -> string()
Convert Punycode to Unicode. exit with an overflow or badarg errors if malformed or overflow. Overflow can only happen on inputs that take more than 63 encoded bytes, the DNS limit on domain name labels.
encode(Input::string()) -> string()
Convert Unicode to Punycode.
exit with an overflow error on overflow, which can only happen on inputs that would take more than 63 encoded bytes, the DNS limit on domain name labels.Generated by EDoc