2 ms·
Huh. Interesting this doesn't support international email [1] addresses, e.g. квіточка@пошта.укр or Dörte@Sörensen.example.com. Seeing as the web has long supp
by crazygringo 5y ago
Huh. Interesting this doesn't support international email [1] addresses, e.g. квіточка@пошта.укр or Dörte@Sörensen.example.com.
Seeing as the web has long supported Unicode, where are e-mail addresses currently at in that evolution?
Are full Unicode e-mail addresses something that is decently supported today, or still largely theoretical? Is this regex sufficient? What kind of e-mail addresses do people in China most commonly use, for instance?
[1] https://en.wikipedia.org/wiki/International_email https://en.wikipedia.org/wiki/International_email
- Avamander 5y ago> where are e-mail addresses currently at in that evolution? Baby shoes because of anglosphere programmers that can't fathom people wanting to use their own alphabets and thus forget to support it.
- xeromal 5y agoThis is a pretty pessimistic take. The real answer lies somewhere between budget and speed. If someone asked me to support non-latin alphabet, I'd have no idea where to start and the amount of people that would use that feature isn't worth the consideration. It's not that I don't fathom it, it's that I don't have time for that shit.
- crazygringo 5y agoYou don't need to be so accusatory or ungenerous about it. Clearly "anglosphere programmers" fathom it every day when they use UTF-8 almost universally in webpages. Also, you know, things like emoji are pretty popular in the "anglosphere" as well. It's obvious that the real reason is an ancient e-mail RFC, and that while upgrading webpages to UTF-8 was relatively easy, in that it only needs 2 parties to support it -- the browser and the server -- upgrading e-mail is almost infinitely more complicated, because you have to wait for virtually all email code in the world to be upgraded, since an e-mail address is pretty useless if it doesn't work everywhere. It other words, it's a coordination problem. Not an ignorance problem. And unfortunately, Punycode [1] doesn't seem to be a particularly viable stepping-stone/compatibility solution here. E.g. if a user tries to use ドメイン名例@example.com and it fails, asking them to instead type in a seemingly-gibberish eckwd4c7cu47r2wf@example.com, where that could also conflict with a real e-mail address of that name. [1] https://en.wikipedia.org/wiki/Punycode https://en.wikipedia.org/wiki/Punycode
- Avamander 5y ago> You don't need to be so accusatory or ungenerous about it. At least four decades of mostly bad internationalization support it's no longer accusatory, it's empirical and quite generously worded.
- chrismorgan 5y agoInternationalised domain names are supported: as I mentioned, the spec explicitly reminds you to do punycode. For the local part, though, it does look like browsers have fallen down, though I’m not particularly familiar with the situation there. Testing it in Firefox to confirm, ascii@υνικοδε validates, but υνικοδε@ascii doesn’t. https://github.com/whatwg/html/issues/4562 https://github.com/whatwg/html/issues/4562 seems to be where progress is made from time to time. As usual, it’s not as simple as we might hope.