One could roll a special getprop handler that lives in the script of the field (and / or controlled by a behavior for several fields ) that can change the text (using replace or merge) to anything you want:
*instead of * get the htmltext of fld xxx *call your getprop property instead* get the htmlConvertedEntitiesText of fld xxx On 29 October 2010 07:53, 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í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. > 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 > -- Stephen Barncard San Francisco Ca. USA more about sqb <http://www.google.com/profiles/sbarncar> _______________________________________________ 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