Hi,
I use HTMLEncode to insert HTML data in my SQL Server DB.
When SELECTing it, I want to perfrom Decoding of the data in VBscript.
Espace/Unescape does not work because it does URL encode/decode (%xx
conversion) and I need #xxxx conversion.
Any idea how it's done?
Thanks, Gabi.

Re: HOWTO: HTML Decode in VBScript (not Espace/Unescape)? by ekkehard

ekkehard
Tue Mar 04 05:11:42 CST 2008

Gabriela schrieb:
> Hi,
> I use HTMLEncode to insert HTML data in my SQL Server DB.
> When SELECTing it, I want to perfrom Decoding of the data in VBscript.
> Espace/Unescape does not work because it does URL encode/decode (%xx
> conversion) and I need #xxxx conversion.
> Any idea how it's done?
> Thanks, Gabi.

There is a HttpServerUtility.HtmlDecode Method:

http://msdn2.microsoft.com/en-us/library/hwzhtkke.aspx