How can I read HTTP Response in Windows 1251 encoding?

Describe the problem/error/question

When making HTTP Request to a service, that returns the response in Windows-1251 encoding, n8n is unable to read it. The characters show as questionmarks �

Please share your workflow

Share the output returned by the last node

    "data": "������ ���"

And the expected output is:

    "data": "Привет мир"

Information on your n8n setup

  • n8n version: 1.17.1
  • Database (default: SQLite): Postgresql
  • n8n EXECUTIONS_PROCESS setting (default: own, main): default
  • Running n8n via (Docker, npm, n8n cloud, desktop app): docker
  • Operating system: Debian 11

Hi @rmarinchev :wave: Welcome to the community :tada:

This took both of us a bit of playing around with, but @Jon managed to find a workaround in reading the response as a binary file:

1 Like

It worked, thank you!


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