Page 1 of 1

LC 7 unicode quick question

Posted: Thu Nov 13, 2014 12:23 pm
by vedus
hi guys.
1:)Before LC-7 we have the bellow line to set unicode but dictionary now say that (As of LiveCode 7.0 the unicodeText property has been deprecated)

Code: Select all

set the unicodeText of field "tTitle" of card "card2" to uniEncode (myarray,"UTF8")
2:)On the datagrids if we want to use unicode we use the bellow line in the row behavior

Code: Select all

on FillInData pDataArray
    -- Example:
  //set the text of field "Label" of me to pDataArray["label 1"]
  set the unicodetext of field "Label1" of me to uniencode(pDataArray["katigoria"],"utf8")
end FillInData
and this line in the column behavior

Code: Select all

 set the unicodetext of the long ID of me to uniencode(pData,"utf8")
what is the alternate method for the above lines?
Because when i use it in the LC7 i have some fields in the deployed app's (ios-android) on (the greek language) i get it empty.

Re: LC 7 unicode quick question

Posted: Thu Nov 13, 2014 12:29 pm
by LCNeil
Hi vedus,

Check out textEncode and textDecode in the dictionary :)

Kind Regards,

Neil Roger
--
LiveCode Support Team ~ http://www.livecode.com
--