public inbox for libc-help@sourceware.org
 help / color / mirror / Atom feed
* getaddrinfo chokes at hostnames containing "emoji" characters
@ 2018-05-16  8:40 Name Surname
  2018-05-16  9:10 ` Florian Weimer
  0 siblings, 1 reply; 6+ messages in thread
From: Name Surname @ 2018-05-16  8:40 UTC (permalink / raw)
  To: libc-help

Greetings everyone.

I recently bought a domain name containing "emoji" characters, as a 
novelty and in order to do some experiments. I tried getting the IP 
address associated to it using getaddrinfo, however, it errs and returns 
"Name or service not known". The same thing happens with any program 
that uses glibc for name resolution. I understand that emoji domains are 
not valid according to IDNA2008, however, some ccTLDs sell them, they 
were supported according to IDNA2003, and web browsers resolve them 
normally according to IDNA2003 (at least firefox does).

Is this a bug or a feature?

Should you want to experiment, a example valid emoji domain name is "📙.la".

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-05-16 18:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-16  8:40 getaddrinfo chokes at hostnames containing "emoji" characters Name Surname
2018-05-16  9:10 ` Florian Weimer
2018-05-16  9:49   ` Name Surname
2018-05-16 14:04   ` Name Surname
2018-05-16 14:09     ` Florian Weimer
2018-05-16 18:20       ` Name Surname

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).