Proposal for "Net_IDNA"

» Metadata » Status
  • Category: Networking
  • Proposer: Markus Nix 
  • License: LGPL
» Description
Encode/decode punycode based domain names.

The class allows to convert internationalized domain names (see RFC 3492 for details) as they can be used with various registries worldwide to be translated between their original (localized) form and their encoded form as it will be used in the DNS (Domain Name System).

The class provides two public methods, encode() and decode(), which do exactly what you would expect them to do. You are allowed to use complete domain names, simple strings and complete email addresses as well. That means, that you might use any of the following notations:

www.nörgler.com
xn--nrgler-wxa
xn--brse-5qa.xn--knrz-1ra.info
» Dependencies » Links
» Timeline » Changelog
  • First Draft: 2004-07-21
  • Proposal: 2004-07-21
  • Call for Votes: 2004-07-29