Share via


Convert Method

Supports conversion between URL-encoded and UNICODE-encoded URLs.

Convert (InputString, InputType, OutputType)

InputString  The string to be converted.

InputType  The type of input string. Valid values are URL or UNICODE.

OutputType  The type of output string. Valid values are URL or UNICODE.

Remarks

This method provides a way to decode UNICODE URLs into URLs or convert URLs to UNICODE URLs.

Example

Microsoft Visual Basic Scripting Edition:

WPSC.Convert "http://my%20data.xml", "URL", "UNICODE"

Microsoft JScript:

WPSC.Convert("http://my%20data.xml", "URL", "UNICODE");

Requirements

Platforms: Microsoft Windows Server 2003

Applies to: WPSC Object