API Reference > Other Classes > OdCharMapper Class > OdCharMapper Methods > OdCharMapper::unicodeToUtf8 Method
OdCharMapper::unicodeToUtf8 Method
Syntax
C++
static void unicodeToUtf8(const OdChar* srcBuf, int srcSize, OdAnsiCharArray& dstBuf);
Parameters 
Description 
const OdChar* srcBuf 
[in] Source Unicode character buffer.  
int srcSize 
[in] Size of the source character buffer.  
OdAnsiCharArray& dstBuf 
[out] Receives the UTF-8 character array. 

Maps the Unicode characters to UTF-8. 

 

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