---
title: availableStringEncodings
framework: swift
role: symbol
role_heading: Type Property
path: swift/string/availablestringencodings
---

# availableStringEncodings

An array of the encodings that strings support in the application’s environment.

## Declaration

```swift
static var availableStringEncodings: [String.Encoding] { get }
```

## See Also

### Working with Encodings

- [defaultCStringEncoding](swift/string/defaultcstringencoding.md)
- [localizedName(of:)](swift/string/localizedname(of:).md)
- [isContiguousUTF8](swift/string/iscontiguousutf8.md)
- [makeContiguousUTF8()](swift/string/makecontiguousutf8().md)
- [withUTF8(_:)](swift/string/withutf8(_:).md)
