Function

CFStringIsSurrogateHighCharacter

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

Declaration

Boolean CFStringIsSurrogateHighCharacter(UniChar character);

Parameters

character

A UTF-16 character.

Return Value

true if character is a high character in a surrogate pair, otherwise false.

See Also

Managing Surrogates

CFStringGetLongCharacterForSurrogatePair

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

CFStringGetSurrogatePairForLongCharacter

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

CFStringIsSurrogateLowCharacter

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