A2BSTR Method


Convert multi-byte characters to UNICODE characters by specified code page.

BSTR A2BSTR(
	[in] BSTR Src, 
	[in, optional, defaultvalue(65001)] long CodePage
)

Parameters

Src

Source multi-byte characters.

CodePage

Specifies the code page to be used to perform the conversion.

Return Value

Return value is the translated UNICODE characters.