# Escape Unicode Characters

Converts characters to their unicode-escaped notations. Supports the prefixes:`\u``%u``U+`e.g. `σου` becomes `\u03C3\u03BF\u03C5`. Escape Unicode Characters lives in the **Data format** category of the `fx` menu.

## Parameters

| Parameter        | Type    | Required | Default | Description                                            |
| ---------------- | ------- | -------- | ------- | ------------------------------------------------------ |
| Input            | string  | yes      | —       | Value to transform. Previous step output or a literal. |
| Prefix           | string  | no       | `\u`    | Choose one of: `\u`, `%u`, `U+`.                       |
| Encode all chars | boolean | no       | `false` | Disabled by default.                                   |
| Padding          | number  | no       | `4`     | Numeric value. Default `4`.                            |
| Uppercase hex    | boolean | no       | `true`  | Enabled by default.                                    |

`Input` is the primary value (previous step output or a literal).

## Returned value

| Type     | Description                                             |
| -------- | ------------------------------------------------------- |
| `string` | Result of the Escape Unicode Characters transformation. |

## Example

<details>
<summary>Escape non-ASCII characters</summary>

Convert characters to unicode-escaped notation with a chosen prefix (`\u`, `%u`, or `U+`).

1. Set **Input** to the text. Paste:

   ```text title="Input"
   σου
   ```

2. Leave **Prefix** on `\u`.

3. Confirm **Output value** looks like `\u03C3\u03BF\u03C5`.

</details>
