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-
_______________________________________________
Help-libidn mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-libidn