# Encode files correctly

<figure><img src="/files/AxKI2kLVzX2gEq1iOFrK" alt=""><figcaption></figcaption></figure>

### Microsoft Excel

1. Open your CSV file in **Microsoft Excel.**
2. Click **File** in the top-left corner of your screen.
3. Select **Save as...**
4. Click the drop-down menu next to **File format.**
5. Select **CSV UTF-8 (Comma delimited) (.csv)** from the drop-down menu.
6. Click **Save.**&#x20;

Your new CSV file is now encoded using the UTF-8 format and is ready to be imported.

***

<figure><img src="/files/V4VaDEl74nKUhxsrDkov" alt=""><figcaption></figcaption></figure>

### Numbers

1. Open your CSV file in **Numbers.**
2. Click **File** in the top-left corner of your screen.
3. Select **Export to...  -> CSV...**
4. Click **Advanced options.**
5. Click the drop-down menu next to **Text Encoding.**
6. Select **Unicode (UTF-8)**.
7. Click **Next**
8. Choose a name and location for your new file and click **Save.**

Your new CSV file is now encoded using the UTF-8 format and is ready to be imported.


---

# 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.nais.org/nais/add-your-data/upload-spreadsheets/troubleshooting-spreadsheet-uploads/encode-files-correctly.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.
