Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What is "xn--p3h" and how do you convert to it?

Another I've seen http://⚡.la



http://en.wikipedia.org/wiki/Internationalized_domain_name#T... describes the process behind the Punycode used in internationalized domain names (IDNs).


#!/usr/bin/env python

print "xn--p3h".decode("idna").encode("utf8")




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: