Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SMS and codepages
Message
De
30/12/2018 10:22:21
 
 
À
29/12/2018 14:05:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Application:
Desktop
Divers
Thread ID:
01664953
Message ID:
01664968
Vues:
62
Thank you Tore.

>>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?
>
>I answered in your earlier thread by giving you a link which shows the character set that's used in SMS messages. If you study it, you will see that all the accented characters have ASCII values which are different from Windows.
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform