LC 7 unicode quick question

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
vedus
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 153
Joined: Tue Feb 26, 2013 9:23 am

LC 7 unicode quick question

Post by vedus » Thu Nov 13, 2014 12:23 pm

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.

LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: LC 7 unicode quick question

Post by LCNeil » Thu Nov 13, 2014 12:29 pm

Hi vedus,

Check out textEncode and textDecode in the dictionary :)

Kind Regards,

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

Post Reply