> On 10 Nov 2014, at 13:06, Brahmanathaswami <bra...@hindu.org> wrote: > > i tried that already: > > case "original_script" > set the unicodetext of field "lyrics" to uniencode(tContent, "utf8") > break > > but still get garble > > > ?? > > > > ?? 555 > > 555 > > ? 555 > [snip]
You need to process the JSON data before putting it into a string. As far as I know,LiveCode recognises “\u0ba9” as a string containing 6 characters. You need to process that to change it to the single character numToCodepoint(0x0ba9) or it’s preLiveCode 7 alternative. (The \, u, 0, b, a, and 9 will be UTF-8 encoded though.) That is unless mergJSON “de-escapes" the JSON for you. Regards Peter _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode