Issues with iso-8859-1 on the

I’m working with a Moodle instance, which I’ve done int he past with n8n, I use it’s REST API to do things like create users and remove users, however, recently I’ve been getting an error for “Uknown encoding: iso-8859-1”, which is completely new to me. n8n is fully updated and I’ve tried setting charsets in the headers, with no avail. I’m not quite sure what I could be doing wrong here, since I’ve got another Moodle instance I’m doing the same behaviors with and it’s working with no issue whatsoever. Any help would be greatly appreciated.

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 1.63.4
  • Database (default: SQLite): SQLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main): default
  • Running n8n via (Docker, npm, n8n cloud, desktop app): npm
  • Operating system: Alma Linux 8

You are saying it is working here. So what else you would want to resolve then?

Regardless of that, the error “Uknown encoding: iso-8859-1” indicates that your “charset=latin1” is not recognised. Note “iso-8859-1” and “Latin1” is the same thing. Have tried UTF-8 instead, which is a typical encoding used everywhere nowadays?

I have tried UTF-8 set as the charset as well, and the site is encoded in UTF-8, I’m still getting the same errors. What I was trying to say about the other instance is that I have a duplicate setup, on the same server, with the same configuration and I’m getting this different behavior. I’ve checked the encodings on my sites and they are UTF-8, which leads me to believe it’s how the http node is handling something but I’m not sure.

Hmmm, the issue occurred with the HTTP request node’s response. The charset in the response is iso-8859-1, which I supposed wasn’t supported by n8n anymore.
I have the same issue and don’t know how to fix this, any suggestions are appreciated

Same here folks - Looking for a suggestion, 4 days later, on post Unknown encoding: iso-8859-1 on HTTP Request

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