---
title: init()
framework: swift
role: symbol
role_heading: Initializer
path: swift/unicode/utf8/init()
---

# init()

Creates an instance of the UTF-8 codec.

## Declaration

```swift
init()
```
