Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Java: How to convert IDN.toUnicode(String s)

Java: How to convert IDN.toUnicode(String s)
{filelink=876}

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("Input:"+ url);
    System.out.println("Unicode output (url):"+ unicode);
  }
}

Users who found this page were searching for:

  • java display spanish character set
  • python for loop over tuple
  • run python in java scriptengine
  • python read characters from file

No comments yet.

Leave a Comment