I have an ISO-8859-1 encoded XML from a web request can’t manage to convert the string to a utf-8 encoded string. That scumbles all the umlauts after parsing it to JSON. Has anyone an idea how to how I might bring the string to the correct format?
Thank you for your suggestion. Could you elaborate on this? I don’t have a cli on hand during runtime in scriptable. there is a npm version of iconv but that would mean to implement node. what did you have in mind how to use iconv in scriptable?