Combines a UTF‐16 surrogate pair into a single code point.

Synopsis

Declared in <folly/Unicode.h>

char32_t
unicode_code_point_from_utf16_surrogate_pair(
    char16_t const high,
    char16_t const low);

Return Value

The decoded Unicode code point.

Parameters

Name

Description

high

The high surrogate code unit.

low

The low surrogate code unit.

Created with MrDocs