At 1:11 AM -0700 8/31/06, Curt Zirzow wrote:
so the question is does it pass local tests, which should be rather
simple, the domain part gets rather complcated since you cant predict
at what domain level we are talking about:
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
The last email address is not valid because it has no TLD (top level
domain) -- that's probably just an omission error.
One thing to add to this topic is multilingual domains, which use
PUNYCODE. This is a technique that uses ASCII characters to represent
Unicode code points -- a mapping and look-up function.
For IE browsers and many email programs (in fear of homographic
attacks) do not translate multilingual domains properly. Instead,
multilingual domains will be shown with a "xn--" prefix, such as:
[EMAIL PROTECTED]<whatever>.TLD
Like:
http://xn--ovg.com
This prefix is probably the last one to be used, but it was not the first.
PUNYCODE was never meant to be seen by the end user, but M$ had other
ideas -- if your native language is other than English, apparently M$
doesn't care. IMO, that's a giant step backwards for true global
access to the Internet, but I digress.
So, in any evaluation to determine valid email addresses, one should
also consider "xn--" appearing at the start of the domain name, such
as:
[EMAIL PROTECTED]
hth's
tedd
PS: So Curt, what's your solution?
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php