help-libidn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Option --tld in /usr/bin/idn not used as documented


From: Christian Hammers
Subject: Option --tld in /usr/bin/idn not used as documented
Date: Wed, 3 Dec 2008 14:20:12 +0100

Hello

/usr/bin/idn from libidn-1.8+20080606 does not use the --tld parameter
as documented. The --help output says:

  -t, --tld                Check string for TLD specific rules
                             Only for --idna-to-ascii and

But in reality the top level domain restrictions are only used
when *not* giving --tld:

  $ idn --quiet --idna-to-ascii -t  €uro.fr
  xn--uro-j50a.fr

  $ idn --quiet --idna-to-ascii  €uro.fr
  idn: tld_check_4z (position 0): Code points prohibited by top-level

  $ idn --quiet --idna-to-ascii  €uro.de
  xn--uro-j50a.de

bye,

-christian-





reply via email to

[Prev in Thread] Current Thread [Next in Thread]