EncodeSurrogate (FUN)ΒΆ

FUNCTION EncodeSurrogate

Returns the UTF-16 surrogate pair diRune1, diRune2 for the given diRune. If the rune is not a valid Unicode code point or does not need encoding, EncodeRune returns U+FFFD (c_diRuneError).

InOut:

Scope

Name

Type

Input

diRune

Rune

Output

diRune1

Rune

diRune2

Rune