Here you can find the source of toUnicodePoint(char c)
public static String toUnicodePoint(char c)
//package com.java2s; // in accordance with the terms of the license agreement accompanying it. public class Main { public static String toUnicodePoint(char c) { StringBuffer sb = new StringBuffer(5); for (int i = 3; i >= 0; i--) { sb.append(Character.forDigit((c >> (4 * i)) & 15, 16)); }/* ww w.j a va 2 s.c o m*/ return sb.toString(); } }