API Reference > Other Classes > OdCharMapper Class > OdCharMapper Methods > OdCharMapper::multiByteToWideChar Method
OdCharMapper::multiByteToWideChar Method
Syntax
C++
static void multiByteToWideChar(OdCodePageId codePage, const char* srcBuf, int srcSize, OdCharArray& dstBuf);
Parameters 
Description 
const char* srcBuf 
[in] Source character buffer.  
int srcSize 
[in] Size source character buffer.  
OdCharArray& dstBuf 
[out] Receives the Unicode character array. 
codepage 
[in] Source character code page.  

Maps the specified code page characters to Unicode.

Copyright © 2002–2022. Open Design Alliance. All rights reserved.