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

# CFStringGetListOfAvailableEncodings()

Returns a pointer to a list of string encodings supported by the current system.

```
func CFStringGetListOfAvailableEncodings() -> UnsafePointer<CFStringEncoding>!
```

## Return Value

A pointer to a [`kCFStringEncodingInvalidId`](/documentation/CoreFoundation/kCFStringEncodingInvalidId)-terminated list of `enum` constants, each of type [`CFStringEncoding`](/documentation/CoreFoundation/CFStringEncoding).

## 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)