dragData["private"] is not Unicode aware

Paul Dupuis paul at researchware.com
Tue Jun 18 07:28:12 EDT 2019


On 6/18/2019 3:29 AM, Mark Waddingham via use-livecode wrote:
> 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.
>

Thanks for the clarification Mark. I'm fine with treating it as binary 
and encoding/decoding my data as needed to keep it private and usable in 
our app. I would be nice to have that in the dragData dictionary entry 
whenever the docs can be updated.

I should learn how to contribute to updating documentation myself, but I 
have tried setting up GIT on Windows twice without success (obviously I 
am doing something basic wrong).





More information about the use-livecode mailing list