revBrowser's htmltext property for Unicode text
m.schonewille at economy-x-talk.com
Fri Jun 3 02:45:30 CDT 2011
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.
Economy-x-Talk Consulting and Software Engineering
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.
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode