NYCPHP Meetup

NYPHP.org

[nycphp-talk] somewhat OT Re: validating proper name capitalization

John Campbell jcampbell1 at gmail.com
Tue Oct 4 13:13:24 EDT 2011


> I understand that, but I'm asking something like: if you type in •.com into
> your browser, what's getting passed to the server behind the scenes?

The non encoded string (xn--...).  It must be this way because the
HTTP protocol requires the header to be completely US-ASCII.

It is best to think of punycode as just a browser adress bar display hack.

-jc



More information about the talk mailing list