Command: country.sys

  COUNTRY.SYS is the help file where COUNTRY gets its information from.
  COUNTRY.SYS has to be loaded in CONFIG.SYS / FDCONFIG.SYS.
  For more information about codepages see: CPIDOS and KPDOS.

Syntax:

  - none -

Options:

  See COUNTRY or EXAMPLES.

Comments:

  COUNTRY enables/sets international features of DOS by selecting a
  country code and (only with the unstable / devel kernel) optionally
  also a codepage and country file. The stable kernel only uses the nnn
  value. For full support, use the unstable / devel kernel. You also
  need a COUNTRY.SYS file for the latter, while the former ignores the
  filename argument and only sets date/time/number formats, using values
  compiled into the kernel for a few common countries. It does not set
  sort order and upper/lower case translation tables.
  COUNTRY.SYS has complete NLS info (COUNTRY, UCASE, LCASE, FUCASE,
  COLLATE, DBCS and YESNO) for the following countries:

  nnn    The country code, as shown in the table below (e.g. 001=US,
         033=France). In many cases it is the international phone code.
  mmm    The code page, as shown in the table below (for US: 437 is
         default, 850 and 858 are alternatives).
         If not specified, a code page will be chosen automatically.

  Country Codes

Country            nnn (Code)   mmm (Codepage)
=========================================================================
US                       1      437, 850, 858
Canadian French          2      863, 850, 858
Latin America            3      858, 850, 437
Russia                   7      866, 808, 855, 872, 852, 850, 858, 437
Greece                  30      869, 737, 850, 858
Netherlands             31      858, 850, 437
Belgium                 32      858, 850, 437
France                  33      858, 850, 437
Spain                   34      858, 850, 437
Hungary                 36      852, 850, 858
Yugoslavia              38      852, 855, 872, 850, 858
Italy                   39      858, 850, 437
Romania                 40      852, 850, 858
Switzerland             41      858, 850, 437
Czechoslovakia          42      852, 850, 858
Austria                 43      858, 850, 437
United Kingdom          44      858, 850, 437
Denmark                 45      865, 850, 858
Sweden                  46      858, 850, 437
Norway                  47      865, 850, 858
Poland                  48      852, 850, 858
Germany                 49      858, 850, 437
Argentina               54      858, 850, 437
Brazil                  55      858, 850, 437
Malaysia                60      437
Australia               61      437, 850, 858
Singapore               65      437
Japan                   81      437, 932*
Korea                   82      437, 934*
China                   86      437, 936*
Turkey                  90      857, 850
India                   91      437
Portugal               351      860, 850, 858
Finland                358      858, 850, 437
Bulgaria               359      855, 872, 850, 858, 866, 808, 849, 1131
Belarus                375      849, 850, 858, 1131
Ukraine                380      848, 1125
Serbia and Montenegro  381      855, 872, 852, 850, 858
Croatia                384      852, 850, 858
Slovenia               386      852, 850, 858
Bosnia Herzegovina     387      852, 850, 858, 855, 872
Macedonia              389      855, 872, 850, 858
Slovakia               421*     852, 867, 895
Middle East            785      858, 850, 864*
Israel                 972      858, 850, 862*

Extended Codes (Multilingual countries)

Country               Code      Codepages
Belgium/Dutch        40032      858, 850, 437
Belgium/French       41032      858, 850, 437
Belgium/German       42032      858, 850, 437
Spain/Spanish        40034      858, 850, 437
Spain/Catalan        41034      858, 850, 437
Spain/Galician       42034      858, 850, 437
Spain/Basque         43034      858, 850, 437
Switzerland/German   40041      858, 850, 437
Switzerland/French   41041      858, 850, 437
Switzerland/Italian  42041      858, 850, 437

* These codepages are not yet supported under FreeDOS.

Examples:

  IN CONFIG.SYS / FDCONFIG.SYS:
    device=C:\FREEDOS\BIN\himemx.exe
    device=C:\FREEDOS\BIN\jemm386.exe
    dos=high,umb
    country=001,437,C:\FREEDOS\BIN\country.sys  (US settings) OR:
    country=090,857,C:\FREEDOS\BIN\country.sys  (Turkish settings)

See also:

  country
  config.sys/fdconfig.sys
  cpidos
  kernel
  kpdos
  localcfg
  nlsfunc

  Copyright © 2008 W. Spiegl, updated 2022 W. Spiegl.

  This file is derived from the FreeDOS Spec Command HOWTO.
  See the file H2Cpying for copying conditions.