Accented Characters Display

Thomas Coder livecode.list at gmail.com
Thu Apr 7 16:16:49 EDT 2011


We’re having some trouble with accented characters and hoping someone can
shed some light on the topic.

We have data in a MySQL database that contains accented characters like
“Nuñéz”, and we want it to display correctly in a datagrid.

When we retrieve the data, LiveCode sees it as this: NuÒÈz

When we try this:
set the unicodeText of fld "Field" to uniencode(t, "UTF8")

the words appears with a square character instead of the “ñé” characters.

Is there a magic combination of code that fixes this?

Thanks,

Thomas



More information about the use-livecode mailing list