RE: "International" email addresses

Validating the IDN part is much more complicated than validating the local part, because you need to know the IDN rules.  Which means it probably isn’t just a “simple” regex.

So maybe the rule should allow Unicode in the domain part and encourage complete IDN validation as an additional step?

-Shawn

From: jshin1987@gmail.com [mailto:jshin1987@gmail.com] On Behalf Of Jungshik SHIN (???)
Sent: Wednesday, November 19, 2014 10:53 AM
To: Shawn Steele
Cc: Anne van Kesteren; Steven Pemberton; www-international@w3.org; Forms WG
Subject: Re: "International" email addresses

https://www.w3.org/Bugs/Public/show_bug.cgi?id=15489 deals with it (EAI support in email form validation) although the summary is a bit misleading (it only talks about IDN).

Jungshik

On Wed, Nov 19, 2014 at 10:07 AM, Shawn Steele <Shawn.Steele@microsoft.com<mailto:Shawn.Steele@microsoft.com>> wrote:
Updating that to support EAI would be good.

-----Original Message-----
From: annevankesteren@gmail.com<mailto:annevankesteren@gmail.com> [mailto:annevankesteren@gmail.com<mailto:annevankesteren@gmail.com>] On Behalf Of Anne van Kesteren
Sent: Wednesday, November 19, 2014 2:07 AM
To: Steven Pemberton
Cc: www-international@w3.org<mailto:www-international@w3.org>; Forms WG
Subject: Re: "International" email addresses

On Wed, Nov 19, 2014 at 11:00 AM, Steven Pemberton <Steven.Pemberton@cwi.nl<mailto:Steven.Pemberton@cwi.nl>> wrote:
> So as far as I can see, an internationalised email address is:
>
>  address: atom-list "@" atom-list.
>  atom-list: atom ( "." atom )*
>  atom: C+
>  C: any character in the world EXCEPT (),.:;<>@[\]
>
> a) Do you agree?
> b) It was really hard to find this out. The internet is rife with
> people asking and getting bad answers. Please help the internet by
> being definitive.

I recommend matching HTML's definition:

https://html.spec.whatwg.org/multipage/forms.html#valid-e-mail-address



--
https://annevankesteren.nl/

Received on Wednesday, 19 November 2014 19:37:52 UTC