Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdCharMapper::unicodeToCodepage Method
Syntax
C++
static OdResult unicodeToCodepage(OdChar sourceChar, OdCodePageId codepageId, OdChar& codepageChar, bool bTryToUseSystemCP = true);

Maps the specified Unicode character to the specified code page. 

 

Parameters
Description
sourceChar
[in] Unicode source character.
codepageId
[in] Object ID of the code page.
codepageChar
[out] Receives the code page character.
bTryToUseSystemCP
[in] Try to use the default ANSI code page and OEM code page if conversion with codepageId is not OK.

eOk if the code page character is received successfully, or an appropriate error code otherwise.

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