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

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:

Q153449 : INF: SQL Server Code Pages and AutoAnsiToOem Behavior

Keywords : kbusage SSrvTran_SQL kbbug6.50
Version : 6.5
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: April 21, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.