Question
Why do I receive question marks in my SMS message instead of original characters?
Applies To
- SMS Messages
- Non-Latin Alphabet
Answer
This can occur in languages using a non-Latin alphabet. This happens when using characters in a message that are not part of the generic GSM7 character set. To successfully send these characters you will need to use Unicode encoding.
To specify Unicode encoding for your message add this parameter to your GET or POST API URL:
&type=unicode
Note that type is an optional parameter. This can be omitted for text (default), but is required when sending a Binary (binary), WAP Push (wappush), Unicode message (unicode), vcal (vcal) or vcard (card).
Parameters that Vonage allows you to use to encode your messages are detailed here. The basic generic GSM7 character set is defined here. This encoding only applies to the message body, not the Sender ID. All Sender IDs are Latin alphabet alphanumeric only.
Articles in this section
- SMS Best Practices During COVID-19 for Users Sending Traffic to North America
- Troubleshooting SMS Delivery
- Global Sender ID Portal - FAQs
- Global Sender ID Registration Guide
- Recommended Sender ID option for A2P Alert and Transactional Messages to US Virtual Numbers
- Partner Quota Violation Error
- SMS Delivery Failure Error 95 - Unknown
- DLR Statuses
- Is USSD supported via SMS for the SMS API?
- What countries require STOP management for recipient opt-out?