Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Character treatment
Message
From
15/04/2007 23:46:58
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
15/04/2007 20:22:35
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01216087
Message ID:
01216102
Views:
20
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform