# HTTP Request encoding(euc-kr)

**URL:** <https://community.n8n.io/t/http-request-encoding-euc-kr/52954>\
**Category:** Questions\
**Tags:** node, http-request\
**Created:** [August 30, 2024, 8:18am UTC](https://community.n8n.io/t/http-request-encoding-euc-kr/52954 "2024-08-30T08:18:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeongmin\_Suh](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jeongmin_suh/32/43755_2.png) [@jeongmin\_Suh](https://community.n8n.io/u/jeongmin_Suh)\
**Post date:** [August 30, 2024, 8:18am UTC](https://community.n8n.io/t/http-request-encoding-euc-kr/52954/1 "2024-08-30T08:18:20Z")

</div>

## Describe the problem/error/question

Hello, this is my first post on the n8n community.

I am a new user who has just started using n8n with a self-hosted setup.

While trying to do some website scraping with n8n, I found that the site I want to scrape is encoded in EUC-KR. After looking through some posts, I noticed that n8n uses UTF-8 as the default encoding. In this case, I need some help on how to handle this. Since iconv-lite does not support EUC-KR, I’m unable to convert it.

## What is the error message (if any)?

Text corruption occurs

## Please share your workflow

```auto
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

```

 ![스크린샷 2024-08-30 오후 5.20.26](https://europe1.discourse-cdn.com/n8n/original/3X/0/2/02b8dec3d78aefa84004529e649f4af47b107a59.png)

## Share the output returned by the last node

## Information on your n8n setup

- **n8n version:** 1.55.3
- \*\*Database (default: SQLite):\*\*postgresql
- **n8n EXECUTIONS\_PROCESS setting (default: own, main):** own
- **Running n8n via (Docker, npm, n8n cloud, desktop app):** docker compose
- **Operating system:** ubuntu 22.04LTS

---

<div class="post-metadata">

**Author:** ![aya](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/aya/32/194036_2.png) [@aya](https://community.n8n.io/u/aya)\
**Post date:** [September 13, 2024, 10:14am UTC](https://community.n8n.io/t/http-request-encoding-euc-kr/52954/4 "2024-09-13T10:14:14Z")

</div>

Hi @jeongmin_Suh,

Welcome to the community!

> **Tip for sharing your workflow in the forum**
>
> #### Pasting your n8n workflow
> 
> * * *
> 
> Ensure to copy your n8n workflow and paste it in the _code block_, that is in between the pairs of triple backticks, which also could be achieved by clicking `</>` (preformatted text) in the editor and pasting in your workflow.
> 
> ```  
> \<your workflow\>  
> ```
> 
> Make sure that you’ve removed any sensitive information from your workflow and include dummy data or pinned data as much as you can!
> 
> * * *

Yes, that’s right! HTTP Request node uses UTF-8 encoding by default so a workaround is to download the content as a binary file in the HTTP Request node and then use the Extract from File node to read the binary data using the correct encoding.

n8n supports encodings supported by `inconv` which supports `EUC-KR` so even though it’s not listed in the File Encoding dropdown, you can switch to the Expresion tab and enter the encoding directly, which should work! You can find a full list of encodings supported by the library here: [https://www.npmjs.com/package/iconv](https://www.npmjs.com/package/iconv)

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/c/4/c4b9b253bb55100ef99c07382568ba79b83da9f1.png)

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [December 12, 2024, 10:27am UTC](https://community.n8n.io/t/http-request-encoding-euc-kr/52954/6 "2024-12-12T10:27:09Z")

</div>

Closed on December 12, 2024, 10:27am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
