[thelist] VBScript: HTMLEncode with no Server object available?

Jason Handby jasonh at corestar.co.uk
Wed Aug 27 04:33:36 CDT 2003


Hi all,


I want to be able to HTMLEncode a string, exactly as I would with
Server.HTMLEncode() . Unfortunately, because I'm writing this script for
Windows Scripting Host and not for an ASP page, the Server object isn't
available.

Can someone point me at some VBScript for doing the same job? Someone's
bound to have written this already...?


Ta



Jason



More information about the thelist mailing list