Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdCharMapper::utf8ToUnicode Method
Syntax
C++
static bool utf8ToUnicode(const char* srcBuf, int srcSize, OdCharArray& dstBuf);

This is actually CESU-8 encoding used in DXF (http://www.unicode.org/reports/tr26/)

  • details Maps the UTF-8 characters to Unicode.
 

Parameters
Description
srcBuf
[in] Source UTF-8 character buffer.
srcSize
[in] Size of the source character buffer.
dstBuf
[out] Receives the Unicode character array.

true if the value is mapped successfully, or false otherwise.

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