Yesterday I had the wonderful idea of registering the domain 💜🏳️‍⚧️.ws, however since the registrar doesn't support emoji 13, it got converted to 💜🏳⚧.ws, which is totally different punycode (I hope this even displays correctly on here)

My email server does not support emoji in domains so at the moment I can't use it as a fun email address.

This evening was rather frustrating to be completely honest.

· · Web · 2 · 0 · 6

On the bright side, this pretty much useless domain taught me one thing: punycode domains are a pain and should be avoided at all cost.

Here is the wonderful website I created so it's not empty, in punycode to make sure the link works:

Another fun thing: safari on mobile won't even attempt to open the domain when entered using emoji.

This may be my website with the worst seo ever.

Whatever, since I learned something, I don't consider my time wasted.

I just love how safari colors in the pride flags in the header according to the background colors once you manage to open the site. That did not happen on my desktop.

This is a bug that is too fun to fix, especially since this is basically a throwaway joke site.

That is probably the first time I ever reached 100 on all audits (well except for pwa but this really does not need to be one)

I don't know if I should laugh or cry right now.

@dysphoricDev Yowza, I hadn't thought about how non-printing characters would interact with punycode, what a mess!

They actually look the same on my system, but I poked at them with this Unicode Explorer and indeed the second is missing the ZWJ (Zero-width joiner) that makes it a single character:

To muddle things further, the third is what happened when I just copy/pasted the heart and then the flag from the site - it's the same as the first except without the \uFEOF "make sure this renders as an image emoji" characters.

Unicode is amazing and terrible.

@dysphoricDev It's weird and annoying that the registrar messes around with the characters you put in the box 😦

I guess maybe it could be an attempt to avoid this very problem and clean up all the "extra" stuff and make sure it's valid emoji, but if you don't keep that up to end up here 💢

@dysphoricDev Thanks for sharing, if only so the rest of us can learn from your frustration! I've thought about playing with emoji domains before but haven't actually gotten around to it, so I'm glad to have the heads up 🙂

Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!