•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the ColdFusion section within the Web Development category of DaniWeb, a massive community of 456,601 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,464 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ColdFusion advertiser: Programming Forums
Views: 1306 | Replies: 0
![]() |
•
•
Join Date: Jun 2006
Posts: 8
Reputation:
Rep Power: 0
Solved Threads: 0
I am trying to replace a series of characters with an encoded string value and use that to look for a value in a table. My problem is that when I put the encoded value in the replace, cf converts it to the character instead of leaving it as those characters.
Example
Let say Passname = "%E2%84%A2Hello"
I have the code:
<cfset PassName=#Replace(PassName, "%E2%84%A2", "&##153;","all")#>
this will make the string passname contain: "â„¢Hello". I want it to be "Hello"
Is there any way to do this?
Thanks
Simmy
Example
Let say Passname = "%E2%84%A2Hello"
I have the code:
<cfset PassName=#Replace(PassName, "%E2%84%A2", "&##153;","all")#>
this will make the string passname contain: "â„¢Hello". I want it to be "Hello"
Is there any way to do this?
Thanks
Simmy
![]() |
•
•
•
•
•
•
•
•
DaniWeb ColdFusion Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- PHP and JAVA vs .NET (IT Technologies and Trends)
- How do I write code for PAC MAN! (C++)
- Very basic de/encrypt program (Python)
- How to Escape a base64 encoded message (C)
- Reading Japanese text (Web Browsers)
- This ought to be simple - extra spaces (PHP)
- Comparing String with a 2D Array (C++)
- help neede about converting characters (C++)
- Backp/Restore HardDisk Image (C++)
Other Threads in the ColdFusion Forum
- Previous Thread: Sort integer as hour
- Next Thread: hosting from home using desktop


Linear Mode