Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
C0D4681386yI’d recommend you don’t.
Purely due to browser support, not everyone uses mainstream browsers, and URL parsing may become an issue if you’re using Unicode in your routes.
Also, a URL should generally be able to be typed in, as it informs the user where they are, generally better then navigation/breadcrumb menus. -
C0D4681386yAlso, the only time I would expect Unicode / emojis in a URL, is when it’s purely a novelty.
http://👻💩.ws/
Or if that doesn’t work
http://xn--9q8h2c.ws/ -
C0D4681386y@cursee that’s due to a Unicode security issue, so browsers redirect into the plaintext URL instead.
For example:
https://аpple.com
Used to bring you to this site
https://www.xn--80ak6aa92e.com/ -
cursee171596y
-
kimb986yFun fact, using iOS, you can not click on the links with emojis, only the translated ones are clickable. But in the browser bar, you see the emojis.
-
Condor324966yPlease don't, next people will want it in their usernames and everything and it'll break databases everywhere 😰
Also I lost count of the times I went to emojipedia to copy-paste every time I wanted to type an emoji on desktop...
Related Rants
Discussion Question for Web Devs and Server Admins.
Should we use unicode (Non-English/Latin) text in URL?
Eg: unicode blog title converted to use as permalink
question
web
url
unicode