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.

Cheers

Monte

Sent from my iPad

On 30/10/2010, at 1:53 AM, Chris Sheffield <cmsheffi...@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&#237;a" instead of "d&iacute;a"? When setting the htmlText 
> property, either one works, but Rev always returns the latter.
> 
> Thoughts?
> 
> Thanks,
> Chris
> 
> --
> Chris Sheffield
> Read Naturally, Inc.
> www.readnaturally.com
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to