Re: Regex æøå email validation?

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

 



Søren Neigaard wrote:

> It works fine, but my friend strangely enough has users with special
> danish letters (æøåÆØÅ) in their email address, and that it does not
> accept. 

Hej Søren

I just realised - you can't have those characters in the email address. 
You may have them in the name part, but not in the address part.  If
you have them in the domain, you need to convert them to punycode
before you validate. 


/Per Jessen, Zürich

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux