---
title: "CFStringGetLongCharacterForSurrogatePair(_:_:)"
framework: corefoundation
role: symbol
role_heading: Function
path: "corefoundation/cfstringgetlongcharacterforsurrogatepair(_:_:)"
---

# CFStringGetLongCharacterForSurrogatePair(_:_:)

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

## Declaration

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

## Parameters

- `surrogateHigh`: The high surrogate character.
- `surrogateLow`: The low surrogate character.

## Return Value

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

## See Also

### Managing Surrogates

- [CFStringGetSurrogatePairForLongCharacter(_:_:)](corefoundation/cfstringgetsurrogatepairforlongcharacter(_:_:).md)
- [CFStringIsSurrogateHighCharacter(_:)](corefoundation/cfstringissurrogatehighcharacter(_:).md)
- [CFStringIsSurrogateLowCharacter(_:)](corefoundation/cfstringissurrogatelowcharacter(_:).md)
