On Wed, Feb 23, 2022 at 08:51:10AM +0100, Kamil Dudka wrote:
On Tuesday, February 22, 2022 10:50:06 PM CET Chris Adams wrote:
> Once upon a time, Zbigniew Jędrzejewski-Szmek <zbyszek(a)in.waw.pl> said:
> > Yes. But how many domains using idn are there? I worked on idn support
> > in systemd, but when preparing the description of this change I realized
> > that I have _never_ once used an idn domain outside of testing.
> > And note that this is not about user-facing programs like firefox.
> > I assume that there might be _some_ use of idn in firefox. But for
> > command-line tools like curl this seems even less likely.
> I'm pretty sure use of IDN domains is a regional thing. I live in the
> US and don't see IDN domains in my normal use. But dropping support for
> them from a core utility would be bad for those that live in regions
> where IDN domains may be more common.
> Chris Adams <linux(a)cmadams.net>
If this appears to be a real problem, it is easy for us to re-enable IDN
in libcurl-minimal, even in an update of a stable Fedora release. So I do
not think we need to enable it proactively.
According to ICANN , there were 8.3 mln IDN domains worldwide. I admit
that is more than I expected. According to verisgn , out of 364.6 mln total,
i.e. around 2%.
Apparently .рф is fairly popular, with 1/5th of .ru registrations .
But from what I have seen, all those internationalized domains serve
as a redirect or backup to sites also available as ascii. And for command-line
tools or scripting, using those ascii versions seems quite likely…
I certainly wouldn't want to break things for people using non-latin
scripts. So I'd definitely vote to enable libidn2 in curl-minimal,
_if_ there are people who'd actually use this for real.