Created
April 24, 2009 02:19
-
-
Save nipotan/100887 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!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