monte at sweattechnologies.com
Fri Oct 29 16:26:15 CDT 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 gmail.com> 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.
> Chris Sheffield
> Read Naturally, Inc.
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode