Microsoft KB Archive/279108

= PRB: OSQL Utility Cannot Run Under Hindi Locale/Indic Language Setting on Window 2000 =

Article ID: 279108

Article Last Modified on 10/17/2003

-

APPLIES TO


 * Microsoft SQL Server 2000 Standard Edition
 * Microsoft SQL Server 7.0 Standard Edition

-



This article was previously published under Q279108



SYMPTOMS
If you choose the Indic language setting and the Hindi locale from the Windows 2000 Regional options under Control Panel, you may get the following error message when you run Osql.exe from the command prompt:

Error: Locale or Codepage not properly installed on this machine

However, Query Analyzer works fine with the Hindi locale and Indic language setting.



WORKAROUND
Use Query Analyzer instead of the osql utility.



MORE INFORMATION
Osql.exe calls the Setlocale function to get codepage information. However, Hindi does not have a codepage as most of the languages do. Thus, the Setlocale function fails because it does not have a codepage value to set.

Keywords: kbprb KB279108

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.