This returns the CONNX codepage of the client operating system, including any override value in the sqlregisty or CONNXRegistry.
Example:
SELECT cnxclientcodepage()