icann

non-latin email address validation

让人想犯罪 __ 提交于 2019-11-30 12:22:59
Now that ICann is allowing non-latin-character domain names, should I be concerned about e-mail validation? Currently, my sites are using php functions to ensure some alpha-numeric character set in each segment of an email address. Will these other character sets, such as Cyrillic, Arabic, and Chinese, pass validation? Are there recommended php functions to utilize for this? Pekka 웃 I think the ultimately best way would be using a proper IDN function to convert the incoming string into an ACE string ( xn--xyz-blah.com ). If that process works, the domain name is valid. If it doesn't, it isn't.

non-latin email address validation

时间秒杀一切 提交于 2019-11-29 17:49:24
问题 Now that ICann is allowing non-latin-character domain names, should I be concerned about e-mail validation? Currently, my sites are using php functions to ensure some alpha-numeric character set in each segment of an email address. Will these other character sets, such as Cyrillic, Arabic, and Chinese, pass validation? Are there recommended php functions to utilize for this? 回答1: I think the ultimately best way would be using a proper IDN function to convert the incoming string into an ACE