Re: Decode - URLEncoded string
On Wednesday 20 Aug 2003 17:10 pm, Jeff Chastain wrote: That is the route I have gone with so far ... I was just looking for a 'correct' solution. The correct solution is to find a unicode convertor :-) -- Tom Chiverton (sorry 'bout sig.) Advanced ColdFusion Programmer Tel: +44(0)1749 834997 email: [EMAIL PROTECTED] BlueFinger Limited Underwood Business Park Wookey Hole Road, WELLS. BA5 1AF Tel: +44 (0)1749 834900 Fax: +44 (0)1749 834901 web: www.bluefinger.com Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple Quay, BRISTOL. BS1 6EG. *** This E-mail contains confidential information for the addressee only. If you are not the intended recipient, please notify us immediately. You should not use, disclose, distribute or copy this communication if received in error. No binding contract will result from this e-mail until such time as a written document is signed on behalf of the company. BlueFinger Limited cannot accept responsibility for the completeness or accuracy of this message as it has been transmitted over public networks.*** ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com
RE: Decode - URLEncoded string
:-P - That was what I was looking for, thanks for the pointer. -- Jeff -Original Message- From: Thomas Chiverton [mailto:[EMAIL PROTECTED] Sent: Thursday, August 21, 2003 2:22 AM To: CF-Talk Subject: Re: Decode - URLEncoded string On Wednesday 20 Aug 2003 17:10 pm, Jeff Chastain wrote: That is the route I have gone with so far ... I was just looking for a 'correct' solution. The correct solution is to find a unicode convertor :-) -- Tom Chiverton (sorry 'bout sig.) Advanced ColdFusion Programmer Tel: +44(0)1749 834997 email: [EMAIL PROTECTED] BlueFinger Limited Underwood Business Park Wookey Hole Road, WELLS. BA5 1AF Tel: +44 (0)1749 834900 Fax: +44 (0)1749 834901 web: www.bluefinger.com Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple Quay, BRISTOL. BS1 6EG. *** This E-mail contains confidential information for the addressee only. If you are not the intended recipient, please notify us immediately. You should not use, disclose, distribute or copy this communication if received in error. No binding contract will result from this e-mail until such time as a written document is signed on behalf of the company. BlueFinger Limited cannot accept responsibility for the completeness or accuracy of this message as it has been transmitted over public networks.*** ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com
Re: Decode - URLEncoded string
A quick-fix solution... Do a rereplace for 00 and remove them all, then do URLDecode?? On 20/8/03 2:23, Jeff Chastain [EMAIL PROTECTED] wrote: I have got a string that was encoded by another application using a 'quad-character format'. I have not seen this format before and I am getting errors when trying to decode it. Anybody run into this before and have any suggestions? I have tried the different formatting options for URLDecode without any luck. 'Normal' encoding - jeff%u2Echastain%u40hp%u2Ecom Quad Character encoding - jeff%u002Echastain%u0040hp%u002Ecom Thanks -- Jeff ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com
Re: Decode - URLEncoded string
Jeff Chastain wrote: I have got a string that was encoded by another application using a 'quad-character format'. I have not seen this format before and I am getting errors when trying to decode it. Anybody run into this before and have any suggestions? I have tried the different formatting options for URLDecode without any luck. 'Normal' encoding - jeff%u2Echastain%u40hp%u2Ecom Quad Character encoding - jeff%u002Echastain%u0040hp%u002Ecom Quick fix off the top of my head - do a replace on something like %u00 and replace it with just %u? Then just use URLDecode() on the resulting string. -- Oliver Tupman Key Systems Geotechnical ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com
Re: Decode - URLEncoded string
h...looks like you could just replace all instances of 002 and 004 with 2 and 4. and then you'll have a normal URLEncoded string...not elegant...but it should fly Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder Director www.cfug-vancouverisland.com - Original Message - From: Jeff Chastain [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, August 19, 2003 6:23 PM Subject: Decode - URLEncoded string I have got a string that was encoded by another application using a 'quad-character format'. I have not seen this format before and I am getting errors when trying to decode it. Anybody run into this before and have any suggestions? I have tried the different formatting options for URLDecode without any luck. 'Normal' encoding - jeff%u2Echastain%u40hp%u2Ecom Quad Character encoding - jeff%u002Echastain%u0040hp%u002Ecom Thanks -- Jeff ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
RE: Decode - URLEncoded string
That is the route I have gone with so far ... I was just looking for a 'correct' solution. Thanks -- Jeff -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 20, 2003 10:11 AM To: CF-Talk Subject: Re: Decode - URLEncoded string h...looks like you could just replace all instances of 002 and 004 with 2 and 4. and then you'll have a normal URLEncoded string...not elegant...but it should fly Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder Director www.cfug-vancouverisland.com - Original Message - From: Jeff Chastain [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, August 19, 2003 6:23 PM Subject: Decode - URLEncoded string I have got a string that was encoded by another application using a 'quad-character format'. I have not seen this format before and I am getting errors when trying to decode it. Anybody run into this before and have any suggestions? I have tried the different formatting options for URLDecode without any luck. 'Normal' encoding - jeff%u2Echastain%u40hp%u2Ecom Quad Character encoding - jeff%u002Echastain%u0040hp%u002Ecom Thanks -- Jeff ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
RE: Decode - URLEncoded string
Could you actually just replace the 00? Is it that simple? Are there no three character entity codes? Just curious. Jim Davis -Original Message- From: Jeff Chastain [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 20, 2003 12:10 PM To: CF-Talk Subject: RE: Decode - URLEncoded string That is the route I have gone with so far ... I was just looking for a 'correct' solution. Thanks -- Jeff -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 20, 2003 10:11 AM To: CF-Talk Subject: Re: Decode - URLEncoded string h...looks like you could just replace all instances of 002 and 004 with 2 and 4. and then you'll have a normal URLEncoded string...not elegant...but it should fly Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder Director www.cfug-vancouverisland.com - Original Message - From: Jeff Chastain [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, August 19, 2003 6:23 PM Subject: Decode - URLEncoded string I have got a string that was encoded by another application using a 'quad-character format'. I have not seen this format before and I am getting errors when trying to decode it. Anybody run into this before and have any suggestions? I have tried the different formatting options for URLDecode without any luck. 'Normal' encoding - jeff%u2Echastain%u40hp%u2Ecom Quad Character encoding - jeff%u002Echastain%u0040hp%u002Ecom Thanks -- Jeff ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com
Decode - URLEncoded string
I have got a string that was encoded by another application using a 'quad-character format'. I have not seen this format before and I am getting errors when trying to decode it. Anybody run into this before and have any suggestions? I have tried the different formatting options for URLDecode without any luck. 'Normal' encoding - jeff%u2Echastain%u40hp%u2Ecom Quad Character encoding - jeff%u002Echastain%u0040hp%u002Ecom Thanks -- Jeff ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm