Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

interesting; i didn't know you can do that...

   urldecode(%F0%9F%A4%94) = 
would be pretty awkward to see the urlencoded version (e.g. on paper and source code), but I guees it just works as far as UI is concerned.

Can you have emoji domain xn--?? What about and emoji tld?



Note that the availability of emoji domains is limited. As of August 2017, there were eight top-level domains for which registration of emoji domain names was possible, all of which are ccTLDs: .cf, .fm, .ga, .gq, .ml, .tk, .to, and .ws.

https://en.wikipedia.org/wiki/Emoji_domain

Meanwhile, the total number of TLDs was 1543 TLDs as of April 2018. As of May 2017, there were 255 Country code top-level domains.

https://en.wikipedia.org/wiki/List_of_Internet_top-level_dom...

8 / 1543 ~= 0.5% of all TLDs support emoji.

8 / 255 ~= 3% of all ccTLDs.


> Can you have emoji domains in punicode?

Yes. See this wikipedia page: https://en.wikipedia.org/wiki/Emoji_domain

There are no punicode TLDs, but there are unicode ones, and punicode ones could definitely exist.

By example for the unicode ones http://nic.xn--gckr3f0f/en.html (a japanese unicode gtld)


> have emoji domain xn--??

Yes. See http://xn--i-7iq.ws

Edit: HN does not let me enter emoji characters.


FWIW - If you feel that's a bug worth reporting, drop an email to the site admins at hn@ycombinator.com so they're aware of it.


To be honest, it's probably for the best, it's just that this is one of those edge cases where it was used for a legitimate purpose.


I'm fairly sure that the HN comment system has been built back in the early to mid 2000's and hasn't been updated since.


You must have missed the recent additions of 'unvote'/'undown', deleting posts (I am not sure anymore, but don't think this was possible a few years ago), limiting edit time, much fewer (in my experience: no more) 'no such thing' errors when the cache expired, collapsible comment trees, etc.

These are all small improvements that made it a lot better. That the look hasn't changed for as long as I'm here, I'm quite happy about. If the alternative is something with loads of whitespace and Javascript like Reddit, Skype, etc., then please let us not update "the comment system from the early to mid 2000s".


It supports unicode. And indeed, for a while you could post emoji, until they were added to filters disallowing them. You can still find old posts containing them, rendering correctly.


Which to be honest, is one of the great things about it.

It's clean, it's simple, it's fast, and more importantly it's NOT phpBB.


Wow, didn’t know this was possible.

What’s next, emoji in stock symbols? Might as well...


When we start writing legal documents in emoji we will have taken hieroglyphics full circle.


I believe Neal Stephenson essentially anticipates this in Anathem.


It's just unicode.

And I think it's good browsers will change it into the the dashed version.

Because: www.аррlе.com/


Browser vendors have instituted a variety of different rules for this problem, include at least:

1. Decide (policy, enacted by humans) for each TLD if its registry has rules that will prevent abuse, if so whitelist this TLD and show IDNs as text for this TLD, everything else is punycode.

2. Algorithmically detect "confusing" IDNs and show punycode instead for those.


It is, technically. However, most TLDs forbid this.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: