Rending HTML Entities in HTMLtext in fields

Ken Ray kray at sonsothunder.com
Fri Aug 7 09:35:50 EDT 2009


> On Sun, Jul 26, 2009 at 7:18 AM, Sivakatirswami<katir at hindu.org> wrote:
>> Is there a way to get htmlEntities
>> 
>> "“Kanwar”
>> 
>> The rest of their lifestyle — names, marriage rituals, dressing styles
>> — continued to be the same...."
>> 
>> to appear correctly in a field where such enties are  part of the html used
>> to set the htmltext of a field?
> 
> 
> I had to wrestle with this recently and after numerous attempts with
> uniencode, unidecode, macToISO etc., I ended up writing my own
> function to do it:

That's awesome, Sarah! I've been needing something like this...

Thanks!

Ken Ray
Sons of Thunder Software, Inc.
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/





More information about the Use-livecode mailing list