Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SMS and codepages
Message
From
29/12/2018 14:01:21
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
SMS and codepages
Environment versions
Visual FoxPro:
VFP 9 SP2
Application:
Desktop
Miscellaneous
Thread ID:
01664953
Message ID:
01664953
Views:
65
Hello all,

Recently i had a problem sending SMSs. I am using TwilioX and at first I thought that perhaps a fix could be needed for whatever reason. One of those reasons could be that I needed to send characters with accents.

Anyway to make a long story short I resolved my problem by doing a conversion of the string that I send with STRCONV().

Ok so no problem anymore. But I'm still wondering with those accents didn't get through.

Perhaps a CodePage problem. I just checked with CPCURRENT() and the CodePage is 1252. With that information I really don't understand why my characters with accents didn't get through because they are all a part of codepage 1252.

Sending as UTF-8 encoding is a nice solution but by doing so I am restricted to sending 70 characters by segments (an SMS can be consisted of many segments)

Anyone can help me find a way for me to be able to send segments of 160 characters instead of 70.

Strings without accents don't need STRCONV() before sending with TwilioX and can have 160 caracters by segments. Strings with accents need STRCONV() before sending with TwilioX and can have 70 caracters by segments.

Any thoughts on this one?
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Next
Reply
Map
View

Click here to load this message in the networking platform