Contents

CFStringGetLongCharacterForSurrogatePair(_:_:)

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

Declaration

func CFStringGetLongCharacterForSurrogatePair(_ surrogateHigh: UniChar, _ surrogateLow: UniChar) -> UTF32Char

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