html entities

Monte Goulding monte at
Fri Oct 29 17:26:15 EDT 2010

If you don't want to use a lookup table then pulling out these entities using repeat while matchchunk and in the loop setting the htmltext of a second field and doing chartonum on the text of the field would work.



Sent from my iPad

On 30/10/2010, at 1:53 AM, Chris Sheffield <cmsheffield at> wrote:

> Got a small problem and wondering if there's any way around it.
> When getting the htmlText of a field, is there any way to make Rev/LiveCode return the numeric html entities of special characters? So for example, if I have a word in Spanish, like "día" (accented i), if I put that into a text field and get the htmlText property of that field, is there any way to return the string "día" instead of "día"? When setting the htmlText property, either one works, but Rev always returns the latter.
> Thoughts?
> Thanks,
> Chris
> --
> Chris Sheffield
> Read Naturally, Inc.
> _______________________________________________
> use-revolution mailing list
> use-revolution at
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the Use-livecode mailing list