[Bug 15489] Email addresses should be converted from Punycode to ASCII before validating them

https://www.w3.org/Bugs/Public/show_bug.cgi?id=15489

--- Comment #2 from Mathias Bynens <mathias@qiwi.be> 2012-01-10 05:53:53 UTC ---
Here’s a simple test case for how current browsers implement this:
http://jsbin.com/acomah

The first input field (1): <input type=email value=foo@mañana.com>
The second input field (2): <input type=email value=foo@xn--maana-pta.com>

In Chrome 16, 1 is invalid but 2 is valid. The raw value is displayed; no
Punycode conversion is done at all.
Safari 5.1.2 and Firefox 9 have the same behavior as Chrome 16.
In Opera 11.60, 1 is invalid, 2 is valid; but as soon as you focus 1, it
becomes valid. Opera does Punycode conversion in the background; both fields
display the value as “foo@mañana.com”.

Ideally, both fields would be marked as valid, as is the case in Opera after
you focus 1.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 10 January 2012 05:53:59 UTC