Problem with URLDecode
Hello, Can anyone help me with this problem? I am trying to get a trademark character #8482; to translate back into its correct text. When I display it to screen before the CF Code that uses it in a query all works fine (except that in order to display it at this point put's it in the wrong place), however if I do the query before displaying it it won't work. I have put the URLDecode around it and it still stays encoded. It actually starts out as the characters, but being passed through Form Fields it gets translated to the encoded version (it is being passed around in the variable Criteria_#ThisRow#). Any ideas would very much be appreciated. Terry Stewart -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: Problem with URLDecode
That isn't URLEncoded... that's an HTML entity. Some lame-brained browsers will wreak havoc with it while passing through form fields... especially in the URL. IE is a particularly lame-brained browser. Beyond that... good luck ;) -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Re: Problem with URLDecode
Terry, Try escaping the # symbol. It sounds like you have the entity reference stored in a text field in a database (not sure from your description of the problem). If so, write it as ##8482. HTH, --John Terry Stewart stew@stewnetTo: [EMAIL PROTECTED] .comcc: Subject: Problem with URLDecode 09/07/2000 10:48 AM Please respond to cf-talk Hello, Can anyone help me with this problem? I am trying to get a trademark character #8482; to translate back into its correct text. When I display it to screen before the CF Code that uses it in a query all works fine (except that in order to display it at this point put's it in the wrong place), however if I do the query before displaying it it won't work. I have put the URLDecode around it and it still stays encoded. It actually starts out as the characters, but being passed through Form Fields it gets translated to the encoded version (it is being passed around in the variable Criteria_#ThisRow#). Any ideas would very much be appreciated. Terry Stewart -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Problem with URLDecode
Hello, I am trying to get a trademark character #8482; to translate back into its correct text. When I display it to screen before the CF Code that uses it in a query all works fine (except that in order to display it at this point put's it in the wrong place), however if I do the query before displaying it it won't work. I have put the URLDecode around it and it still stays encoded. It actually starts out as the characters, but being passed through Form Fields it gets translated to the encoded version (it is being passed around in the variable Criteria_#ThisRow#). Any ideas would very much be appreciated. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.