[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: email addresses in arabic characters



On Fri, Aug 24, 2007, Moazzam Khan wrote:
> I am trying to making a multi-lingual web application and have to
> write a function to validate email addresses. Can a valid email
> address have arabic characters in it? If yes, how can I validate them?
> I am trying to do this in PHP if it helps.

The 822 RFC doesn't allow non ASCII chars, as far as I know.
See http://fr.php.net/manual/fr/function.preg-match.php fo rexamples.
Or http://www.regular-expressions.info/email.html.

Good luck.

-- 
Mohammed Adnčne Trojette