On Mon, Jun 30, 2014 at 7:38 AM, Ben Rubinstein <benr...@cogapp.com> wrote:

> So... what's the most elegant way to this (is there one)?  Is there any
> alternative to just looking up the UTF8 encodings and writing:
>
>   put format("This ice cream is \xC2\xA9 Ben and Jerry\xE2\x80\x99s Inc")
> into kMyConstantString
>

Another approach is to use the htmlText property in conjunction with html
entities.  Full lists of them are available on the web but apostrophe is
&apos; and the copyright symbol is &copy;

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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to