Original post

I’m trying to port an api from nodejs to . The problem is that I have to make a network call and the response returned is ISO-8859-1 encoded which is then saved to a file using the same encoding. Is there any way that I can achieve the same in ?

I have already tried setting the charset header to utf8 on the http request but that doesn’t seem to resolve the issue.