הערה
גישה לעמוד זה דורשת אישור. אתה יכול לנסות להיכנס או לשנות תיקיות.
גישה לעמוד זה דורשת אישור. אתה יכול לנסות לשנות מדריכים.
The EncodeUnicodeName property enables an ASP Web page to translate an ANSI string to its Unicode equivalent.
Syntax
[propget, id(2), helpstring("property EncodeUnicodeName")] HRESULT EncodeUnicodeName(
[in] BSTR bstrSrcName,
[out, retval] BSTR *pVal
);
Parameters
bstrSrcName [in]
Caller-supplied ANSI string to be translated.
pVal [out, retval]
Caller supplied pointer to a location that will receive the translated string.
Return value
| Return code | Description |
|---|---|
| S_OK | The operation succeeded. |
| E_POINTER | At least one of the parameters does not point to a valid memory location. |
VBScript Example
Dim OleCvt, strPrinter, strEncodedPrinter
Set OleCvt = Server.CreateObject("OlePrn.OleCvt")
strMyUrl = "MyPage.asp?MyVariable=" &
OleCvt.EncodeUnicodeName("My&Unicode&Parameter")
Requirements
Target platform: Desktop