Use an SMS gateway without utf-8 encoding
Question:
Is it possible to use an SMS gateway that doesn’t support utf-8 encoding?
Answer:
If receiving SMS gateway supports for example latin encoding and we only support utf-8 you need to use this kind of workaround: Example SMS message: kertakäyttösalasanasi.
SMS gateway expects ä as %E4 and ö as %F6 so we configure in uas.properties: SMS_TEXT = {0} on kertak\u0025E4ytt\u0025F6salasanasi Result depends on the receiving gateway.
Related articles