Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ chcp(CMD) — OpenDesktop 1.1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


     CHCP(DOS)         UNIX System V          CHCP(DOS)



     Name
          chcp - change code page


     Syntax
          chcp [nnn]


     Description
          A code page  lets  the  computer  translate  stored  numeric
          values  into  characters  that will either be displayed on a
          screen, printed on paper or  entered  from  a  keyboard.  In
          effect,  a  code  page  contains  the  definition of a given
          character set.  Code page switching can be  used  to  choose
          between  different character sets for use on devices such as
          printers or screens.

          Several different code pages, which include  character  sets
          specific  to  different  countries,  are  now  supported. At
          system  initialization,  the  code  page  supported  is  the
          default  code  page  defined  by  the country  command in the
          config.sys file.

          nnn is the 3 digit number of the required code page.

          The chcp command can be compared to the  mode  command.  The
          difference  is  that  chcp  sets a new code page for all the
          devices that can support it, whereas mode switches the  code
          page  for individual devices. The chcp command cannot select
          a code page for a device unless  that  code  page  has  been
          prepared  for  the device. See the manual entry for the mode
          command.

          In order to use chcp, nlsfunc support must be loaded  before
          the  chcp  command  is  issued.  See  the  manual  entry for
          nlsfunc.

          The chcp program looks for the country  information  in  the
          file   specified  by  the  country  command  in  the  system
          configuration file. If no country command is used then  chcp
          looks  at the current drive and directory for the file named
          country.sys.  If the file cannot  be  found,  a  message  is
          displayed to indicate this.


     CHCP(DOS)            (printed 8/21/89)             CHCP(DOS)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026