BUG: French Client Sets Incorrect Registry Key for ANSI/OEM Conv

Last reviewed: May 28, 1997
Article ID: Q168894
The information in this article applies to:
  • Microsoft SQL Server, version 6.5
BUG #: 16486 (NT: 6.50)

SYMPTOMS

If you use the French Client Configuration Utility to check or clear the

'Conversion ANSI -> OEM automatique' (the French equivalent of 'Automatic
ANSI to OEM' in the English client) option, clients behave as if you never did.

CAUSE

Instead of writing the value (on or off) in the AutoAnsiToOem registry key under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSqlServer\Client\DB-LIB, the Client Configuration Utility creates a new key called 'Conversion ANSI-OEM automatique' under the same path and writes in that newly created key.

WORKAROUND

Use either Regedt32.exe or Regedit.exe to directly edit the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSqlServer\Client\DB-LIB \AutoAnsiToOem, and set the value to on or off.

STATUS

Microsoft has confirmed this to be a problem in Microsoft SQL Server version 6.5. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

When the client is first installed, it has two registry keys, AutoAnsiToOem and UseIntlSettings, under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ MSSqlServer\Client\DB-LIB as usual. The value for AutoAnsiToOem in the registry is set to On; however, in the Client Configuration Utility, the

'Conversion ANSI -> OEM automatique' check box is clear. Once you place a
check in it, it creates a new registry key called 'Conversion ANSI-OEM automatique' and sets its value to On. Toggling this check box toggles the value on and off for this new key.

All the DB-Library clients use the AutoAnsiToOem key and not the

'Conversion ANSI-OEM automatique' key to determine whether or not they
should perform ANSI to OEM conversion. Therefore, clients like ISQL and ISQL/w do not reflect the change made by Client Configuration Utility for the 'Conversion ANSI -> OEM automatique' check box.

For more information about ANSI to OEM conversion, please refer to the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q153449
   TITLE     : INF: SQL Server Code Pages and AutoAnsiToOem Behavior
Keywords          : kbbug6.50 SSrvTran_SQL kbusage
Version           : 6.5
Platform          : WINDOWS
Issue type        : kbbug
Solution Type     : kbworkaround


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: May 28, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.