next up previous contents
Next: Fit Up: Set-show Previous: Dummy   Contents


Encoding

The set encoding command selects a character encoding. Syntax:
     set encoding {<value>}
     show encoding

Valid values are

  default     - tells a terminal to use its default encoding
  iso_8859_1  - the most common Western European font used by many 
                Unix workstations and by MS-Windows. This encoding is
                known in the PostScript world as 'ISO-Latin1'.
  iso_8859_2  - used in Central and Eastern Europe
  iso_8859_15 - a variant of iso_8859_1 that includes the Euro symbol
  cp850       - codepage for OS/2
  cp852       - codepage for OS/2
  cp437       - codepage for MS-DOS
  koi8r       - popular Unix cyrillic encoding

Generally you must set the encoding before setting the terminal type. Note that encoding is not supported by all terminal drivers and that the device must be able to produce the desired non-standard characters. The PostScript and X11 terminals support all encodings. OS/2 Presentation Manager switches automatically to codepage 912 for iso_8859_2.


Rick Perry 2006-02-15