toCodePointString

fun Int.toCodePointString(fallback: Int = PUSHPIN_CODE_POINT): String(source)

Renders this Unicode code point as a string, substituting fallback when the value is not a usable scalar value.

Code points that reach the UI may come from untrusted input, so they must not be handed to Character.toChars, which throws IllegalArgumentException on anything out of range.