<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreFoundation",
  "identifier" : "/documentation/CoreFoundation/CFStringGetLongCharacterForSurrogatePair(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Foundation"
    ],
    "preciseIdentifier" : "c:@F@CFStringGetLongCharacterForSurrogatePair"
  },
  "title" : "CFStringGetLongCharacterForSurrogatePair(_:_:)"
}
-->

# CFStringGetLongCharacterForSurrogatePair(_:_:)

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

```
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`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)