DecodeSurrogate (FUN)

FUNCTION DecodeSurrogate : Rune

Returns the UTF-16 decoding of a surrogate pair. If the pair is not a valid UTF-16 surrogate pair, DecodeSurrogate returns the Unicode replacement code point U+FFFD (c_diRuneError).

InOut:

Scope

Name

Type

Return

DecodeSurrogate

Rune

Input

diRune1

Rune

diRune2

Rune