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. 

Returns eOk if successful, or an appropriate error code if not.

Maps the specified code page character to Unicode.

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