toUCS4

fun toUCS4(c: Char, d: Char): Int

Converts the given surrogate pair into a 32-bit UCS-4 character. Use of Character.toCodePoint is generally preferred.