What method can be used to escape an apostrophe in an SMS message? I've tried two apostrophes and a few other tricks but nothing worked so far.
Solved! Go to Solution.
Views
Replies
Total Likes
Thank you, Meit.
We found the issue in the connector javascript. There were double quotes around a single quote in front of and behind the message. We changed this around to be single quotes areound a double quote and it's working fine. I appreciate the help. Matthew
There in an option called "Authorize character transliferation". If it's supported by your SMS provider it should work. Otherwise, you will need to use unicode
David
Thank you, David.
We are not using SMPP, so that option is not available.
We are using a custom connector to Amazon SNS.
When using a single quote, it breaks the message at that point and thinks it reached the end (don). When using double ('') the entire message comes through (Dont forget to register!) but with no apostrophe.
Views
Replies
Total Likes
Hi @n235ps ,
To handle escaping an apostrophe in an SMS message when using a custom connector to Amazon SNS in ACC, you'll need to follow a method that ensures the message is correctly transmitted without breaking at the apostrophe. Since using two apostrophes results in the apostrophe being stripped out, and you're not using SMPP, the solution requires customizing your approach.
Here’s what you can try:
By trying these methods, you should be able to properly handle apostrophes in your SMS messages without breaking the message content.
Best regards,
MEIT MEDIA (https://www.meitmedia.com)
Contact Us: infomeitmedia@gmail.com
Thank you, Meit.
We found the issue in the connector javascript. There were double quotes around a single quote in front of and behind the message. We changed this around to be single quotes areound a double quote and it's working fine. I appreciate the help. Matthew