import java.net.IDN;
public class IDNUnicode {
public static void main(String[] args) {
String url = "www.facebook.com";
String unicode = IDN.toUnicode(url);
System.out.println("Entrée:"+ url);
System.out.println("Affichage Unicode (url):"+ unicode);
}
}