Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Is it possible to use 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.



  • No labels