# Encoding Wizard

## Overview

The **Encoding Wizard** allows users to specify the character encoding for a file or a group of files.

<figure><img src="/files/nyPenogCihgMfPhL50ED" alt=""><figcaption><p>Set Encoding</p></figcaption></figure>

## Sections

### Default Encoding

Option: `Default (inherited from container: UTF-8)`\
This option uses the default encoding, which is typically UTF-8, as inherited from the parent container.

### Other Encoding

Option: `Other`\
When selected, this option allows you to choose a different encoding from a dropdown list:

* **ISO-8859-1**: Also known as Latin-1 is a single-byte character encoding that can represent the first 256 Unicode characters. It includes characters from most Western European languages. It is used primarily for Western European languages and is not suitable for representing characters from other language families.
* **US-ASCII**: American Standard Code for Information Interchange is a 7-bit character encoding that represents English characters. It includes control characters and printable characters (0-127). It is used for basic English text and control characters, but it cannot represent characters outside the English language.
* **UTF-16**: 16-bit Unicode Transformation Format is a variable-length character encoding for Unicode. Characters are encoded in one or two 16-bit code units. It is used where a fixed-width character encoding is desired. It is efficient for representing characters that are common in Asian languages.
* **UTF-16BE**: Big Endian is a variant of UTF-16 that encodes characters using two bytes, with the most significant byte first. It is used in systems that prefer big-endian byte order.
* **UTF-16LE**: Little Endian is a variant of UTF-16 that encodes characters using two bytes, with the least significant byte first. It is used in systems that prefer little-endian byte order.
* **UTF-8**: 8-bit Unicode Transformation Format is a variable-width character encoding that can represent every character in the Unicode character set. It is the most widely used encoding on the web. It is suitable for encoding a wide range of characters from different languages, making it ideal for international text.

### Buttons

Here are the available buttons:

#### Apply

Applies the selected encoding to the current selection without closing the dialog.

#### OK

Applies the selected encoding and closes the dialog.

**Cancel**

Closes the dialog without applying any changes.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.servoy.com/reference/servoy-developer/object-editors/encoding-wizard.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
