Support unicode in SMS messages (#56468)

This commit is contained in:
Oscar Calvo
2021-09-21 01:07:14 -07:00
committed by GitHub
parent 097fae0348
commit f9fde7f7a1

View File

@@ -46,7 +46,7 @@ class SMSNotificationService(BaseNotificationService):
"""Send SMS message.""" """Send SMS message."""
smsinfo = { smsinfo = {
"Class": -1, "Class": -1,
"Unicode": False, "Unicode": True,
"Entries": [{"ID": "ConcatenatedTextLong", "Buffer": message}], "Entries": [{"ID": "ConcatenatedTextLong", "Buffer": message}],
} }
try: try: