HTML entities

Peter T. Evensen pevensen at siboneylg.com
Tue May 30 10:44:27 EDT 2006


You could set the htmlText of an invisible field and then get the text of 
that field to translate.

At 07:49 PM 5/29/2006, you wrote:
>Hi All,
>
>I have a field of data that I want to format into a web page. The data
>can contain symbols, most likely just the degree symbol but possibly
>others. If I get the htmltext of the field, it gives me the correct
>entity for the degree symbol: °
>
>However I don't want to use the htmltext, since I am building my own
>table display from the data. Is there a way to translate a symbol to
>it's html entity? I suppose I could just use a lookup table of the
>likely candidates and loop through them, replacing as necessary, but
>since Rev "knows" the entities, I was hoping there was a function that
>I haven't spotted, to get them directly.
>
>TIA,
>Sarah
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your 
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-revolution

Peter T. Evensen
http://www.PetersRoadToHealth.com
314-629-5248 or 888-682-4588 





More information about the use-livecode mailing list