Java tutorial
public class Main { public static void main(String[] args) { char ch1 = '\ud800', ch2 = '\udc00'; int cp = Character.toCodePoint(ch1, ch2); String str = "Supplementary code point value is " + cp; System.out.println(str); } }