User Name Password Register
DaniWeb IT Discussion Community
All
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
Reply
Join Date: Jun 2006
Posts: 8
Reputation: simmy7 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
simmy7 simmy7 is offline Offline
Newbie Poster

Question How to get and encoded character to stay encoded?

  #1  
Sep 9th, 2007
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
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb ColdFusion Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the ColdFusion Forum

All times are GMT -4. The time now is 7:03 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC