This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: CYGWIN=codepage:oem in User's Guide


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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]