API Reference > Other Classes > OdCharMapper Class > OdCharMapper Methods > OdCharMapper::codepageToUnicode Method
OdCharMapper::codepageToUnicode Method
Syntax
C++
static OdResult codepageToUnicode(OdChar sourceChar, OdCodePageId codepageId, OdChar& unicodeChar);
Parameters 
Description 
OdChar sourceChar 
[in] Code page source character.  
OdCodePageId codepageId 
[in] Object ID of the code page.  
OdChar& unicodeChar 
[out] Receives the Unicode character.  

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

Maps the specified code page character to Unicode. 

 

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