Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy Unicode to clipboard
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01414441
Message ID:
01414701
Vues:
42
Hi Christof,

Thanks for your info. Will there be any trick to make VFP think that the unicode text comes from another Unicode application, like Excel, so that it will do the conversion in pasting?

Ben


>> However if I paste the text into VFP, the text becomes question marks.
>
>That's because VFP can't handle Unicode text, only multi-byte character strings. When you paste something using the VFP function, VFP will always perform a conversion to ANSI based on your current code page. If you want to access the actual Unicode string, you need to write your own Paste function that uses the same API functions as in Sergey's code to copy to the clipboard.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform