The ISessionObject::get_CodePage method retrieves the value of the CodePage property.
HRESULT get_CodePage(
LONG *plvar // pointer to a LONG integer
);
The CodePage property determines how characters are displayed.
Session Object, CodePage