The Problem: Currently, non-Latin characters and Emojis arrive as garbled text or ????. This happens because the gateway defaults to GSM-7 encoding instead of Unicode (UCS-2).
The Solution: Setting "Unicode": True in the smsinfo dictionary within run.py fixes this. I have manually verified that forcing this flag allows all non-Latin symbols and Emojis to be delivered correctly.
smsinfo = {
"Class": -1,
"Unicode": True, # args.get('unicode') if args.get('unicode') else False,
"Entries": [
{
"ID": "ConcatenatedTextLong",
"Buffer": args['text'],
}
],
}
The Request: Could you add a configuration option to the Home Assistant integration to enable Unicode support?
The Problem: Currently, non-Latin characters and Emojis arrive as garbled text or ????. This happens because the gateway defaults to GSM-7 encoding instead of Unicode (UCS-2).
The Solution: Setting "Unicode": True in the smsinfo dictionary within run.py fixes this. I have manually verified that forcing this flag allows all non-Latin symbols and Emojis to be delivered correctly.
The Request: Could you add a configuration option to the Home Assistant integration to enable Unicode support?