Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IE object and encoding
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00920838
Message ID:
00922558
Vues:
29
---
Unfortunately it is not "my" case: I cannot get the proper return from "$" command unconditionally, which is critical to the project I am working on.
---

It sounds as though you need to work with the contents of the page after you receive the text, rather than just display it to the screen.

If that is the case, you won't really benefit by installing different fonts, moving up to VFP 8 for _screen.fontcharset, etc, because the display to the screen is irrelevant. What you care about is the data.

If this is correct, then it's possible for you to handle this in one of two ways:

1) use STRCONV() on the results of the return value. I am not sure what exact conversion you need here but there are several possibilities

2) move the contents of the return value into a cursor, whether into a memo field or a memo binary field, and then manipulate the results from there. If a memo field, you might be able to set the codepage of the cursor before storing the results and get the right result.

BTW, instead of using the "$" command, you might want to think about using AT() and ATC(). Not only are they faster, but you can then think about using the double byte versions of these functions for some regional purposes (ATCC and AT_C). Not sure it's necessary in this case, but you should try them.

>L<
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform