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