Setting url of browser widget, incompatible characters
Mark Waddingham
mark at livecode.com
Wed Mar 23 08:36:36 EDT 2016
On 2016-03-23 13:22, Peter TB Brett wrote:
> You should use URLEncode(). For example:
>
> on mouseUp
> answer file "Choose file"
> put "file://" & URLEncode(it) into tUrl
> put tUrl into field "url"
> set url of widget "browser" to tUrl
> end mouseUp
>
> I'm just in the process of updating the documentation for the browser
> widget to make this clearer.
>
> Peter
Erg - see http://quality.livecode.com/show_bug.cgi?id=14015 and
http://quality.livecode.com/show_bug.cgi?id=15369.
Perhaps we need a 'standardUrlEncode/Decode' function pair for now until
we can fix the anomalies in a backwards-compatible fashion.
Mark.
--
Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps
More information about the use-livecode
mailing list