Table of Contents

Method EncodeSurrogatePair

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

EncodeSurrogatePair(char, char, out Rune)

Attempts to encode (as UTF-16) a surrogate pair.

public static bool EncodeSurrogatePair(char highSurrogate, char lowSurrogate, out Rune result)

Parameters

highSurrogate char

The high surrogate code point.

lowSurrogate char

The low surrogate code point.

result Rune

The encoded rune.

Returns

bool

true if the encoding succeeded; false otherwise.