The ODBC driver uses the server-platform-configured code page value as its client code page.
On Windows – use the Windows Registry ACP value. To locate the value, use the Registry Editor called regedit to navigate through the registry tree to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NIs\CodePage, which represents the platform’s ODBC code page. On the right panel, scroll to the ACP value.
On Linux and UNIX – use the locale command to determine the operating system, the platform, and ODBC code page value.