go-idn

module
v0.0.0-...-76db0e1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2016 License: BSD-3-Clause

README

Go-idn

Go-idn is a project that hopes to bring IDN and Stringprep to Go and aims to become feature compatible with libidn.

This library is in a VERY EARLY stage, since I've only just forked and updated it. Things WILL CHANGE and things MAY NOT WORK properly yet.


Build Status Coverage Status


Go-idn is a mostly-documented implementation of the Stringprep, Punycode and IDNA specifications. Go-idn's purpose is to encode and decode internationalized domain names and provide a simple Stringprep interface using pure Go code.

The library contains a generic Stringprep implementation. Profiles for Nameprep are included, and we plan to support iSCSI, SASL and XMPP profiles. Punycode and ASCII Compatible Encoding (ACE) via IDNA are supported. A mechanism to define Top-Level Domain (TLD) specific validation tables, and to compare strings against those tables, is included. Default tables for some TLDs are also included.

Directories

Path Synopsis
Package idna2003 implements IDNA as described in RFC 3490.
Package idna2003 implements IDNA as described in RFC 3490.
punycode
Package punycode implements encoding and decoding of Punycode sequences.
Package punycode implements encoding and decoding of Punycode sequences.
stringprep
Package stringprep implements Stringprep as described in RFC 3454, including the Nameprep profile.
Package stringprep implements Stringprep as described in RFC 3454, including the Nameprep profile.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL