Skip to content

DanielOaks/go-idn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published