The following situation:
This is the API https://x.com/index.php?app=ws&u=xxxx&h=c3f2454g543c3b8bfsdfa2311b1&op=pv&to=4444444444&unicode=1&msg=tex+consisting+of+82+Latin+characters
When using API to send SMS, where the number of characters consists of 82 characters (less than 160), also in the string of API specified unicode = 1. In this scenario, the number of SMS sent will be 2, instead of 1. Since we specified unicode = 1. If unicode = 1 is removed from the API string, the number of sent SMS will be 1, which is correct. But there is one point, if you remove the unicode = 1 line from the API, the Russian characters will not be interpreted correctly and will be displayed as “???” in SMS.
When specifying unicode, all conclusions are correct, but the number of Latin letters will be equal to 2, instead of 1. If you do not specify unicode, Latin characters are processed correctly (each character is 1), but Russian characters are not displayed correctly.
PlaySMS version: 1.4.3
Installed PHP modules: