Another option you could try is something like the following *-- uses javascript to place the body of the current page into the tText variable. * *put revBrowserExecuteScript(sBrowserId,"result=document.body.innerHTML") into tText*
and see if javascript sets the result correctly so you can use the text. On Fri, Jun 3, 2011 at 1:45 AM, Mark Schonewille < m.schonewi...@economy-x-talk.com> wrote: > Hi Slava, > > This can happen when a website uses (binary) unicode text instead of html > encoded text. Externals can't pass binary data to the LiveCode engine. As a > result, LC gets incorrectly encoded text and text that cannot be decoded is > replaced with question marks. > > Sockets, however, can pass binary data. You could retrieve the data > directly using the put URL command. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.6 for LiveCode here > http://qery.us/ce > > On 3 jun 2011, at 07:11, Slava Paperno wrote: > > > When my revBrowser instance displays a UTF-8 Web page, and I look at the > > value returned by revBrowserGet(instanceID "htmltext"), I think all > > double-byte characters are replaced with question marks. I think the same > is > > true of the revBrowser "selected" property. > > > > Could someone please confirm? I don't know enough to be certain, and this > > would make a difference in how I'll proceed with the project. > > > > Thanks, > > > > Slava > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode@lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode