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

# CFStringIsEncodingAvailable(_:)

Determines whether a given Core Foundation string encoding is available on the current system.

```
func CFStringIsEncodingAvailable(_ encoding: CFStringEncoding) -> Bool
```

## Parameters

`encoding`

The Core Foundation string encoding to test.

## Return Value

`true` if the encoding is available, otherwise `false`.

## Discussion

---

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)