Java tutorial
public class Main { public static void main(String[] args) { String s = String.format("\\u%04x", (int) Character.MIN_VALUE); System.out.println(s); } }