keywords: ip pbx voip gateway gsm gateway

× Questions about VS-GW2120/GW1600/GW1202 and WGW1002G GSM Series VoIP Gateway

SMS-to-HTTP encoding problem

6 years 10 months ago #10273 by YADeM
Good day!
need to get sms from gateway to mysql database, on basic smsapi write own script - but when got cyryllic sms - have a problem with encoding.
In gateway web interfaace all is ok, but on database unreadable - Мриафшири
mysql DEFAULT CHARSET=utf8
try to make in .php file mb_convert_encoding($message, 'utf-8', 'cp1252');
but result more worse - Мишьра
Can you help me?
6 years 10 months ago - 6 years 10 months ago #10283 by lindali
Hi,

I test it using sms to http function in my place. It works well. Here below is my test script:

Attachment 4.png not found


and the result is shown as picture below:

Attachment QQ20150318140741.png not found


Wish this will help you. If you still have problem. you can add my skype for convenient contact.

Best regards,

skype: linda.li258
email: This email address is being protected from spambots. You need JavaScript enabled to view it.
Attachments:
The following user(s) said Thank You: YADeM
Time to create page: 0.028 seconds
Powered by Kunena Forum