code: public static int convertToUtf32(String text, int idx) {
           return (((text.charAt(idx) - 0xd800) * 0x400) + (text.charAt(idx + 1) - 0xdc00)) + 0x10000;
      }
docs: Converts a unicode character in a String to a UTF32 code point value
  @param text	a String that has the unicode character(s)
  @param idx	the index of the 'high' character
  @return	the codepoint value
  @since	2.1.2