dragData["private"] is not Unicode aware

Mark Waddingham mark at livecode.com
Tue Jun 18 03:29:11 EDT 2019


On 2019-06-17 22:09, Paul Dupuis via use-livecode wrote:
> Folks (those who may have an interest at least):
> 
> I just filed a bug: https://quality.livecode.com/show_bug.cgi?id=22192
> 
> Does this ("Private" NOT Unicode aware) seem like a Feature or a Bug?

This is a documentation bug really - you can only store binary data in 
the
private key of the clipboard/dragboard (these things only store binary
data internally for all things).

So you need to textEncode/textDecode strings, and arrayEncode/Decode 
arrays
if you want to store either of those things there.

Warmest Regards,

Mark.

-- 
Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps




More information about the Use-livecode mailing list