Kbase 1130: How to change your DOS PC to support foreign lang. chars.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/10/1998 |
|
How to change your DOS PC to support foreign lang. chars.
910827-gfs01
INTRODUCTION:
=============
This Progress Software Knowledge base entry descirbes
how to change your DOS PC to support foreign language
character sets.
WHY YOU NEED TO DO THIS:
========================
So you can display and print foreign language characters.
PROCEDURAL APPROACH:
====================
You must add the following commands to your CONFIG.SYS
and AUTOEXEC.BAT files to make this change.
In CONFIG.SYS, enter:
---------------------
COUNTRY=nnn,,C:\DOS\COUNTRY.SYS
DEVICE =C:\DOS\DISPLAY.SYS CON=(EGA,437,2)
Where nnn = country code
In AUTOEXEC.BAT, enter:
-----------------------
NLSFUNC
MODE CON CP PREP=((cplist) C:\DOS\EGA.CPI)
MODE LPT1 CP PREP=((cplist) C:\DOS\EGA.CPI)
KEYB xx,,C:\DOS\KEYBOARD.SYS
CHCP nnn
Where cplist = 850, if your default code page is
437. If code page 437 is not your default
code page, cplist is 850 and your default
code page; for example: 850, 865.
and xx = Keyboard layout code
and nnn = code page number
Example
-------
For example, to set up your DOS PC to support French-Canadian
character set, use the following commands:
In CONFIG.SYS, enter:
---------------------
COUNTRY=002,,C:\DOS\COUNTRY.SYS
DEVICE=C:\DOS\DISPLAY.SYS CON=(EGA,437,2)
In AUTOEXEC.BAT, enter:
-----------------------
NLSFUNC
MODE CON CP PREP=((850 863)C:\DOS\EGA.CPI
MODE LPT1 CP PREP=((850 863)C:\DOS\EGA.CPI
KEYB CF,,C:\DOS\KEYBOARD.SYS
CHCP 850
ONLINE PROCEDURES OR UTILITIES:
===============================
DOS commands: COUNTRY, DEVICE, NLSFUNC, MODE, KEYB, CHCP
REFERENCES TO WRITTEN DOCUMENTATION:
====================================
DOS manual
PROGRESS Programming Handbook, Chapter 1 (V6)
or Chapter 13 (V5)
Progress Software Technical Support Note # 1130