Hi,
I am building an RSS feed from DB query in CF.I have all my replace statements for junk chars working... except for the "TM" symbol. I can't seem to even get my replace statements to FIND the thing in order to replace it... I have all these...
None of which can even see the junk char... in the DB I see it's in there as literally a little "TM" character. Any advice would be fantastic.
Thanks, RR
I am building an RSS feed from DB query in CF.I have all my replace statements for junk chars working... except for the "TM" symbol. I can't seem to even get my replace statements to FIND the thing in order to replace it... I have all these...
Code:
<cfset description = #replace(description, #ASC("0x2122")#, "&##8482;", "ALL")#>
<cfset description = #replace(description, "™", "&##8482;", "ALL")#>
<cfset description = #replace(description, "&##153;", "&##8482;", "ALL")#>
<cfset description = #replace(description, "â„¢", "&##8482;", "ALL")#>
Thanks, RR