Skip to content

Instantly share code, notes, and snippets.

@nipotan
Created April 24, 2009 02:19
Show Gist options
  • Save nipotan/100887 to your computer and use it in GitHub Desktop.
Save nipotan/100887 to your computer and use it in GitHub Desktop.
#!perl
use strict;
use utf8;
use Net::IDN::Encode;
print domain_to_ascii('.東京'), "\n";
print domain_to_ascii('.大阪'), "\n";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment