3 ms·
Does your regex support emoji usernames and domains? (both of which are in use, e.g. https://mailoji.com/ https://mailoji.com/)
by qingcharles 1y ago
Does your regex support emoji usernames and domains? (both of which are in use, e.g. https://mailoji.com/ https://mailoji.com/)
- bigstrat2003 1y agoThat is officially the most cursed thing I've read all week. People really do love to do bizarre things just for the hell of it sometimes.
- 90s_dev 1y agoMy project doesn't even support emojis or unicode. In context, it's not an issue.
- kevin_thibedeau 1y agoBoth parts are limited to 7-bit ASCII or a subset thereof. Emojis have to be in punycode. You could theoretically use UTF-7 for the local-part but nothing supports it in practice.
- qingcharles 1y agoThat's the spec, for sure! The domains are converted to punycode, but the usernames? I have no idea what happens to them. My tests showed some providers delivered them, some didn't. I'm sure there are a bunch of people out there using accented characters and CJK etc in their usernames and wondering why it's not going so well...