Re: What this means "(\w|-)+@\w"? [message #175011 is a reply to message #175010] |
Wed, 03 August 2011 08:02 |
Sandman
Messages: 32 Registered: August 2011
Karma:
|
Member |
|
|
In article <eli$1108030345(at)qz(dot)little-neck(dot)ny(dot)us>,
Eli the Bearded <*@eli.users.panix.com> wrote:
> 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.
Yes, I know it is above the smtp layer, but a SMTP surely shouldn't
deliver mail to a client with IDN as punycode? But I suppose the
punycode could be only in the transmission layer with the "To:" header
intact as IDN.
I own a couple of IDN, but I never accept mail to them though. Perhaps
I should. :)
> Elijah
> ------
> perhaps this is finally the excuse to get a vanity IDN hostname
Or Emoji:
http://www.panic.com/blog/2011/07/the-worlds-first-emoji-domain/
:-D
--
Sandman[.net]
|
|
|