# utf8Encoder

**Kind:** Constant

**Source:** [`src/utils/jwt/utf8.ts`](https://github.com/honojs/hono/blob/main/src/utils/jwt/utf8.ts#L6)

**Part of:** [Utils](subsystem-src-utils)

## Definition

```ts
TextEncoder
```

## Value

```ts
new TextEncoder()
```

## Used by

2 references from 2 files. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

### Imported by (2)

- `HonoJsonWebKey` — `src/utils/jwt/jws.ts`:23
- `TokenHeader` — `src/utils/jwt/jwt.ts`:38
