Fog Creek Software
Discussion Board




Welcome! and rules

Joel on Software

String + Hex problems :)

Hi,

Updating an old classic ASP application...

It's stored a load of text data into SQL Server with hex conversions as well. So have The%20%Book%20  etc....

How can I convert this back to just a string. Oh language is asp.net

Regards

James

James 'Smiler' Farrer
Tuesday, September 02, 2003

Check out HTTPServerUtility.URLDecode.

<nitpick>ASP.Net is a platform, VB.Net and C# are languages.</nitpick>

Greg Hurlman
Tuesday, September 02, 2003

Yes sorry, normally make that difference myself :)

James 'Smiler' Farrer
Tuesday, September 02, 2003

Worked a treat.

Wish they could of designed it with a better function name though, as I wasn't actually decoding a URL hence I didn't even think to look there

James 'Smiler' Farrer
Tuesday, September 02, 2003

>>"Wish they could of designed it with a better function name though, as I wasn't actually decoding a URL "

Well the text *was* URL-encoded so it seems the most appropriate name to me!

Duncan Smart
Tuesday, September 02, 2003

*  Recent Topics

*  Fog Creek Home