"\n" appearing in Unicode

Sannyasin Brahmanathaswami brahma at hindu.org
Sun Sep 25 17:15:46 EDT 2016


I have inserted quotes into a MySQL database. I thought I was careful to be sure it was all Unicode encoded.

We ported the content over SQLite for use in an mobile app.

I can fetch the quotes and then run

put textDecode ( aSelectedQuotes[tNo]["content"], UTF8) into sQuote



Diacritical marks are coming through nicely but endlines are an issue:
but we are getting this output into the var/field

His fleet feet dancing\n--
next line here…. \n
next line here\n
next line here

Anyone know why this might be?

BR



More information about the use-livecode mailing list