delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/20/13:49:05

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Wed, 20 Nov 2002 13:48:50 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Joshua Daniel Franklin <joshuadfranklin AT yahoo DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: CYGWIN=codepage:oem in User's Guide
In-Reply-To: <20021120035629.48303.qmail@web20001.mail.yahoo.com>
Message-ID: <Pine.GSO.4.44.0211201331130.4275-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Tue, 19 Nov 2002, Joshua Daniel Franklin wrote:

> After researching a bit on the Internet, I think I understand what
> the codepage is and how it works in the CYGWIN environment variable.
> Please read this snippit of text meant eventually for
>
> http://cygwin.com/cygwin-ug-net/using-cygwinenv.html
>
> and give me any feedback about any errors:
>
> <i>codepage:[ansi|oem]</i> - Windows console applications use one
> of two character sets for drawing characters, "ansi" or "oem". The
> first is the default, called "ansi" since the Windows 1.0 set
> was the ANSI Latin1 (ISO 8859-1) standard, though the character
> sets have since diverged from any standard. The second character
> sets are the older, DOS-based character set, called "oem" since
> originally they were encoded on the firmware of IBM PCs by OEMs.
> If you find that some characters (especially non-US or 'graphical'
> ones) do not display correctly in Cygwin, you can manually set
> which codepage you want to use.

How about the following (fixes small typos and adds the upcoming
codepage:none option):

<i>codepage:[ansi|oem|none]</i> - Windows console applications
can use different character sets (codepages) for drawing
characters.  The first setting, called "ansi" is the default.
This character set contains various forms of latin characters used
in European languages.  The name originates from the ANSI Latin1
(ISO 8859-1) standard, used in Windows 1.0, though the character
sets have since diverged from any standard.  The second setting
selects an older, DOS-based character set, containing various line
drawing and special characters.  It's called "oem" since it was
originally encoded in the firmware of the IBM PCs by the original
equipment manufacturers (OEMs).  The third setting allows using
non-cygwin tools, such as "chcp", to select a particular codepage.
If you find that some characters (especially non-US or 'graphical'
ones) do not display correctly in Cygwin, you can use this option
to select an appropriate codepage.

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019