--On Tuesday, July 25, 2017 18:37 +0800 cyt@coremail.cn wrote:
... On the other hand, some customers require to use some special characters( may be forbidden by standard RFC) to compose the email address. So we decide to use Text input type and validate the email address by regular expression.
I don't understand this and would appreciate some education. In the domain part of the address, the only restrictions are those imposed by IDNA2008 (for your purposes since Chinese is not written right to left, RFC 5891 and 5892) and there are almost no restrictions on the local part in RFCs 6531 and 6532. In particular, neither set of RFCs prohibits code points that have compatibility equivalents even though using them may not be an especially good idea. So what special characters have you seen customers demanding or using that are forbidden by the RFCs? thanks, john