dragData["private"] is not Unicode aware

Paul Dupuis paul at researchware.com
Mon Jun 17 16:09:21 EDT 2019


Folks (those who may have an interest at least):

I just filed a bug: https://quality.livecode.com/show_bug.cgi?id=22192

Essentially, I discovered in LC905rc1 that:

For years you could do:

set the dragData["private"] to "Some English Text"

and then put the dragData{"private"] and get "Some English Text"

In trying to may our apps more internationally aware (i.e. supporting 
Unicode), we just tried:

set the dragData["private"] to "一些中文文本"

and then put the dragData["private"] and we got "??????"

And, before someone says "Use "text" vs "private", we use "private" 
since, in our app, other data beside some text is added and that data is 
private to our application (i.e. it should not be draggable outside our 
app). My understanding is the using "text" would allow the data to be 
draggable to other apps that allow dropped text.

Does this ("Private" NOT Unicode aware) seem like a Feature or a Bug?



More information about the Use-livecode mailing list