Re: Poll of sorts: Javascript Form validation or PHP

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

 



At 5:10 PM +0100 12/7/08, Per Jessen wrote:
 You cannot have 8bit characters to the left of the @ in the email address.


I'm not sure that's correct. I distinctly remember Paul Hoffman, the director of the Internet Mail Consortium (http://www.imc.org/) saying that the left side of the @ has always been open to whatever characters you want to use. I was attending the IDNS WG as they created PUNYCODE when he made that statement.

Now maybe you can use anything you want, but it doesn't mean that it will be translated correctly.


The same really goes for the same on the right hand side of the @, but
some people have difficulties distinguishing between the _actual_ email
address and it may be rendered when the domain part is converted from
punycode.

The actual email address might be alfons.aaberg@xxxxxxxxxxxxxxxx

That's correct. The "xn--" is the prefix for PUNYCODE. Previous algorithms (AMC, RACE, etc.) used other prefixes.

After all is said and done, these were just ways to use 7 bit characters (unfortunately, the default for the Internet) to assemble/represent 8 bit characters.

Cheers,

tedd

--
-------
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


[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