The getCodePage method of the Session class returns an integer indicating the code page that will be used to display dynamic content.
public int getCodePage();