On 21 apr 2006, at 13.17, Carlos M wrote:
On Apr 21, 2006 7:14 AM, Guyren Howe wrote:
Surprised to find that there doesn't appear to be a built-in HTML
entities decoding function in REALbasic. Has anyone written one?
Fifteen minutes of googling and searching rbgarage
surprisingly has not turned up one.
Guyren,
Check the "HTMLField 2" class from http://www.domainsoftworx.com
It has a "ReplaceHTMLEntities" method that replace some entities.
I agree that RB should have a coding/decoding HTML entities by
default.
I'm going to fill a feature request and will let you know the report
id.
Carlos
Then I think you have to add all the variants to use it, only latin/
all but not ... / only
character greater than .... / and so on... (I think it is better to
write it by your self, that know
how you would like to use it)
And why entities, it is out of date, better (and much easier to write
in RB) with decimal codes.
Sven E Olsson
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>