> The UTF-16 function takes a "string" That is weird. UTF-16 strings are *unsigned short** arrays, strings in Lua are *char** arrays. Something is not right.
Is there a link for the documentation of that library? Best, Scuri Em dom., 3 de mai. de 2020 às 09:02, Jane Taubman <janetaub...@gmail.com> escreveu: > > "data" can not be converted to a string using "tostring". It must use > this function you mentioned. > > Sorry I did not make myself clear. The UTF-16 function takes a "string" > and will not work with a "light user data" so I need to know how to convert > the light user data from the iup.clipboard to a string using just lua. > > > -- > Jane. > > Jane Taubman | www.rjt.org.uk | www.taubman.org.uk | www.fhug.org.uk > _______________________________________________ > Iup-users mailing list > Iup-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/iup-users >
_______________________________________________ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users