commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ros...@mail.com
Subject [validator] Validating email address with non-ASCII characters
Date Mon, 19 Nov 2012 21:41:26 GMT
Hi all, it seems that neither EmailValidator.isValid(string), nor GenericValidator.isEmail(string),
accept non-ASCII UTF-8 (international) characters. Both of these methods return false when
I pass in something like this: юзер@mydomain.com.

 According to RFC 6531 non-ASCII characters are now allowed in the email address. Here is
the short version from Wiki (http://en.wikipedia.org/wiki/Email_address):

 "International characters above U+007F are permitted by RFC 6531 http://tools.ietf.org/html/rfc6531
, though mail systems may restrict which characters to use when assigning local parts."

 Any plans to fix this in the Validator?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message