Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Converting WinHttpRequest response to application code
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01686154
Message ID:
01686157
Vues:
48
Hi,

> You can use STRCONV("utf8string",9, 1257, 1)

Result is not in UTF-8
WinHttpReq.ResponseText is a BSTR, so it stores Unicode data, not UTF8.

To convert it to Ansi or UTF8 WideCharToMultiByte winapi can used. How to call it from FoxPro?
Or maybe some other STRCONV() calls can used?
Andrus
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform