Hi Yuri,
I've View-->Encoding for IE set to Cyrillic (Windows) and I see Russian text on screen. My guess that _SCREEN.FontCharSet is set to Western in your VFP, not to Cyrillic as in mine. So it's not a problem with what you get but how you're trying to display it.
>I need to get the contents of the document on the Web page containing not English characters, say
www.foxclub.ru. The page appears encoding in the Cyrillic.
>
>oIE=CreateObject("InternetExplorer.Application")
>oIE.Navigate(“www.foxclub.ru”)
>oIE.visible=.t.
>
>? oie.Document.body.innertext
>*or
>* strtofile(oie.Document.body.innertext,”c:\txt.txt”)
>
>The problem is that I am getting “????” instead of the proper characters. Using outertext, or innerhtml, or outerhtml does not help either.
>
>What I noted however is that if I go to View-->Encoding and manually change the encoding from Cyrillic to Western European, then I can get the proper text.
>
>So my question is whether it is possible to set encoding automatically from, say, ie object?
>Or perhaps anybody has the better idea how to resolve the problem?
>
>Thanks in advance
--sb--