Function

CFStringGetLongCharacterForSurrogatePair

Returns a UTF-32 character that corresponds to a given pair of UTF-16 surrogate characters.

Declaration

UTF32Char CFStringGetLongCharacterForSurrogatePair(UniChar surrogateHigh, UniChar surrogateLow);

Parameters

surrogateHigh

The high surrogate character.

surrogateLow

The low surrogate character.

Return Value

A UTF32Char that corresponds to the combination of surrogateHigh and surrogateLow.

See Also

Managing Surrogates

CFStringGetSurrogatePairForLongCharacter

Maps a given UTF-32 character to a pair of UTF-16 surrogate characters.

CFStringIsSurrogateHighCharacter

Returns a Boolean value that indicates whether a given character is a high character in a surrogate pair.

CFStringIsSurrogateLowCharacter

Returns a Boolean value that indicates whether a given character is a low character in a surrogate pair.