The information in this article applies to:
SUMMARY
Microsoft SQL Server DB-Library (DB-Lib) clients use ANSI-to-OEM conversion
if the DB-Library option DBANSItoOEM is set using dbsetopt() or if the
"Automatic Ansi to OEM" option is set using the Client Configuration
Utility. When connecting, a DB-Library client using ANSI-to-OEM conversion
determines which character set is in use at the server by issuing the query
"exec sp_server_info 18" against the server.
MORE INFORMATION
If the ODS server is configured to accept language events, the "exec
sp_server_info 18" language request can be safely ignored by using the
following code fragment:
This causes the DB-Library client to perform data conversions under the assumption that the ODS server is NOT using the ANSI codepage. In order to keep this query from being sent by SQL Server for Windows NT and other Windows NT DB-Library applications, start the SQL Client Configuration Utility and ensure that the "Automatic Ansi to OEM" checkbox is cleared. Additional query words: Windows NT oemtoansi ansitooem
Keywords : kbinterop kbtool SSrvGen SSrvODS |
Last Reviewed: March 20, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |