toCodePoint

fun Char.Companion.toCodePoint(high: Char, low: Char): Int

Converts a surrogate pair to a unicode code point. Doesn't validate that the characters are a valid surrogate pair.