Character encoding issue
Posted: Wed Mar 20, 2013 4:13 pm
Hi. I'm having a problem trying to use HTMLtext to display HTML entities correctly in my LiveCode app. An example is the British pound sign, which is encoded in the XML file where LiveCode is reading in the data:
E.g £3 is encoded in XML as...
 3
But when displayed in LiveCode with HTMLtext, I get, the "not" symbol before the £:
£3
Another example is right closing quotes, encoded as ’ but displayed as Äô
Is there a way round this? A character encoding setting within LiveCode? The database where the content is stored, before being added to the XML file, has character encoding utf8.
E.g £3 is encoded in XML as...
 3
But when displayed in LiveCode with HTMLtext, I get, the "not" symbol before the £:
£3
Another example is right closing quotes, encoded as ’ but displayed as Äô
Is there a way round this? A character encoding setting within LiveCode? The database where the content is stored, before being added to the XML file, has character encoding utf8.