On 01/15/2014 01:41 AM, Fernando de Oliveira wrote:
>
> The point (or the dumb question, forgive me for not knowing much about
> this) is: although it is easy to see "whois" is linked to libidn, I
> cannot notice any difference with or without. Would you an example,
> please? With an example, I would come to first above: being useful,
> should it not be recommended?
>
> $ ldd /usr/bin/whois | grep libidn
>       libidn.so.11 => /usr/lib/libidn.so.11 (0xb76f1000)
>
> $ scanelf -F "%f: %n" /usr/bin/whois
> FILE NEEDED
> whois: libidn.so.11,libc.so.6
>
> $ diff whois-google.com-before-idn.log whois-google.com-after-idn.log
> 266c266
> < >>> Last update of whois database: Wed, 15 Jan 2014 00:15:54 UTC <<<
> ---
>>>>> Last update of whois database: Wed, 15 Jan 2014 00:20:27 UTC <<<


For example: whois кыргызстан.icom.museum without libidn gives:

% The selected character encoding "US-ASCII" is not able to represent

And with libidn:

% Object "xn--80afmksoji0fc.icom.museum" NOT FOUND.

-- 
"LEGO won't be ready for the average user until it comes pre-assembled, 
in a single unified look, and glued together so it doesn't come apart." 
-- Iranon
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to