Elegant way to express constant UTF8 string in script?
benr_mc at cogapp.com
Mon Jun 30 13:24:40 EDT 2014
On 30/06/2014 16:51, Paul Dupuis wrote:
> On 6/30/2014 11:17 AM, Peter Haworth wrote:
>> 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
>> ' and the copyright symbol is ©
> Just a caution that LC (depending on engine version) does not support
> all HTML entity names. For example, the entity • for a • is not
> supported under LC 4.6.4, but is under LC 6.6.2 (and exactly what
> version of LC started supporting it I haven't had the time to figure out)
Thanks Peter, thanks Paul.
Yes, ideally my feature request here
>Bug 1372 - should be an isoToHTML or similar (or 'entities' option in
(now in its 10th great year of being ignored!) would solve this problem.
Without it, although we know that RunRev has tables mapping HTML entities to
character codes, we can't access them directly in script - only indirectly
through fields, which I can't access in this context.
More information about the Use-livecode