2 ms·
Just curious, can a short link be a single emoji as the URL (after domain)? If so, does it technically take up 4 characters? And (if you don't mind answering)
by lioeters 4y ago
Just curious, can a short link be a single emoji as the URL (after domain)? If so, does it technically take up 4 characters?
And (if you don't mind answering) how much does such a short domain like t.ly cost?
- jraph 4y agoIt is possible, but your users will need to type emojis (which can be hard or impossible on some devices), or you'll need to urlencode it in href attributes and it will actually take encodeURIComponent("").length = 12 characters (imagine a simple emoji between the quotes). It will also require bigger QRCodes than alphanumeric characters. It might display incorrectly in address bars.
- steventey 4y agoYeah, someone actually created an issue for this on the repo: https://github.com/steven-tey/dub/issues/8 https://github.com/steven-tey/dub/issues/8 I'm planning to not allow emojis simply because of the accessibility challenges that it presents to users :') Emoji domains though, on the other hand, are really cool and more than welcome to be added :)