Return-Path: X-Original-To: apmail-commons-user-archive@www.apache.org Delivered-To: apmail-commons-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5E520D84B for ; Mon, 19 Nov 2012 21:42:24 +0000 (UTC) Received: (qmail 92631 invoked by uid 500); 19 Nov 2012 21:42:23 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 92518 invoked by uid 500); 19 Nov 2012 21:42:22 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 92507 invoked by uid 99); 19 Nov 2012 21:42:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Nov 2012 21:42:22 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rostom@mail.com designates 74.208.5.67 as permitted sender) Received: from [74.208.5.67] (HELO mailout-us.gmx.com) (74.208.5.67) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 19 Nov 2012 21:42:16 +0000 Received: (qmail 3561 invoked by uid 0); 19 Nov 2012 21:41:28 -0000 Received: from 66.77.69.5 by rms-us008 with HTTP Content-Type: multipart/alternative; boundary="========GMXBoundary136001353361286250416" Date: Mon, 19 Nov 2012 16:41:26 -0500 From: rostom@mail.com Message-ID: <20121119214126.136000@gmx.com> MIME-Version: 1.0 Subject: [validator] Validating email address with non-ASCII characters To: user@commons.apache.org X-Authenticated: #79497698 X-Flags: 0001 X-Mailer: GMX.com Web Mailer x-registered: 0 X-GMX-UID: 0cLYcERU3zOl24Nq1nAh5T1+IGRvb8Cl X-Virus-Checked: Checked by ClamAV on apache.org --========GMXBoundary136001353361286250416 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit 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? --========GMXBoundary136001353361286250416--