Unicode

Peter W A Wood peterwawood at gmail.com
Mon Jan 26 02:08:52 CET 2015


Pete

LiveCode 7+ stores text data encoded according to UTF-16 so, as I understand, you will need to convert the UTF-8 encoded data using the textEncode function.

Regards

Peter


> On 26 Jan 2015, at 06:45, Peter Haworth <pete at lcsql.com> wrote:
> 
> Is there a lesson/guide anywhere that shows how to use unicode in LC 7?
> 
> All I need to do is SELECT data from an UTF8 encoded SQLite
> database/display it in fields/datagrid and read input from fields/
> INSERT/UPDATE it to the database.
> 
> I've got things working using unicodeText/uniencode/unidecode in LC 6.6 but
> wondering how things work in 7.  Or even if it's worthwhile even using LC 7
> for something as simple as this.
> 
> The LC7 release notes document all the new properties/commands but don't
> have any examples for straightforward use.  Am I right in thinking that I
> don't need to use unicodeText/uniencode/unidecode in LC7 to do the above
> tasks?  Just simple put into field/put field into var is all I need?
> 
> Pete
> lcSQL Software <http://www.lcsql.com>
> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
> SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list