I download several CSV files via HTTP endpoints and write them into a database. This works. But I noticed that parts of my response are wrongly encoded.
Example:
var response = endpoint->get("url");
io:println(response.getTextPayload().toString());
looks like this:
ZYR;ZYR;;Br�sse;Br�ssel;Br�ssel Railway;S;N;N;BE
ZYZ;ZYZ;;Brussl;Br�ssel;Br�ssel Railway;S;N;N;BE
The following letters are wrongly encoded äöüÄÖÜ (German letters).
Is it possible to set the correct encoding for the response. For example in ISO-8859-1?
Many greetings, Martin
Oh, my bad. Of course I can set the content-type afterwards.