Re: What this means "(\w|-)+@\w"? [message #175010 is a reply to message #175008] |
Wed, 03 August 2011 07:45 |
Eli the Bearded
Messages: 22 Registered: April 2011
Karma:
|
Junior Member |
|
|
In comp.lang.php, Sandman <mr(at)sandman(dot)net> wrote:
> Is SMTP supposed to support IDN? And even if it's supposed to, what
> SMTP servers correctly parse IDN? I mean, percentage-wise?
IDN exists above the SMTP layer. An international domain name
supporting client is supposed to convert the name to and from
punycode, which is highbit text encoded in plain ASCII
alphanumerics. The punycode name is valid at for all email
purposes.
In this model, a user entering an email address with an IDN
host into a form should be allowed. But the web site needs to
convert that -- as needed -- to the traditional DNS form.
I know I've never done that in my code. I should probably fix
that.
Blog post from 2009 lamenting this:
http://www.circleid.com/posts/20091120_idn_and_email_the_harsh_reality/
Elijah
------
perhaps this is finally the excuse to get a vanity IDN hostname
|
|
|