I\'m trying to invoke a service that sends a sms from a google apps script. The service wants the data in iso 8859-1. The code below send a message with the åäö as bad chars
As mentioned in the other question that Serge linked to in the comments, you can change the encoding of a string by first converting it to a Blob and then using the getDataAsString() method:
var result = Utilities.newBlob('Hello World').getDataAsString('ISO-8859-1');