INF: Setting Multiple Code Pages on MS-DOS-Based Clients

Last reviewed: April 28, 1997
Article ID: Q89037

The information in this article applies to:

  - Microsoft SQL Server version 4.2 for OS/2

SUMMARY

As described on page 46 of the "Installation Guide," an MS-DOS-based machine can be configured to use both the 850 and 437 code pages. To do this, you must make additional entries in the CONFIG.SYS and AUTOEXEC.BAT files.

For example, if you want your system to use both the 850 and 437 code pages, with code page 850 as the default, add the following entries to your CONFIG.SYS file:

   country=001,850,c:\dos\country.sys
   device=c:\display.sys con:=(ega,850,2)

In the AUTOEXEC.BAT file, add the following:

   load nlsfunc
   mode con codepage prepare=((850)c:\dos\ega.cpi)
   chcp 850

To determine the active and prepared code page, use the following MS-DOS MODE command:

   mode con cp

To change the code page, use one of the following commands:

   chcp 437

   -or-

   chcp 850

MORE INFORMATION

For more information about setting code pages with MS-DOS, see your MS-DOS documentation.


Additional query words: codepage
Keywords : kbsetup SSrvGen
Version : 4.2
Platform : MS-DOS


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: April 28, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.