Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Character treatment
Message
De
15/04/2007 23:46:58
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
15/04/2007 20:22:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01216087
Message ID:
01216102
Vues:
21
>What may cause improper character conversion when I pull HTML page content via
>
>lnRetVal = InternetReadFile( hURL, @xbuf, xlen, @xlen2)	&& read content into buffer
>STRTOFILE( xbuf , "c:\xbuf.htm" , 1  )
>
>
>Original
>Catalogued CHR(133) baskets ( I mean ellipsis in html page )
>Saved in file
>Catalogued … baskets
>
>Is it kind of conversion to 3 byte Unicode representation for some reason ?
>Any idea how to overcome that ?

It may be a UTF-8 page. You may find a combination of StrConv() parameters that you may need to apply (from utf-8 to unicode or to DBCS, then to ASCII). You may want to look at the page through a hex editor to see what's exactly inside.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform