Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Reply-To: cygwin AT cygwin DOT com To: Joshua Daniel Franklin 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: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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: > > codepage:[ansi|oem] - 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): codepage:[ansi|oem|none] - 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/