delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/10/13:13:43

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: Sun, 10 Nov 2002 13:13:27 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Jan Middelkoop <djhyperbyte AT teknap DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: Problem with Win32/UNIX character set
In-Reply-To: <20021109100359.A87258-100000@teknap.com>
Message-ID: <Pine.GSO.4.44.0211101302480.4275-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Sat, 9 Nov 2002, Jan Middelkoop wrote:

> Hello.
>
> I seem to be able to compile and run a problem fine, but when I run it, I
> notice it uses a UNIX character set instead of the DOS character set (I do
> NOT mean the endline characters - I mean the character set in general),
> so certain things (ASCII art mainly) look very messed up.
>
> How do I get this program to use the DOS character set?
> Is there an option for this in CygWin, do I have to #define something?
>
> Thanks in advance,
> DJHyperbyte <djhyperbyte at teknap.com>

Yes.  Add "codepage:oem" to your CYGWIN environment variable.
	Igor

P.S. David (Starks-Browning), should this be in the FAQ?
FWIW, I haven't found anything related to codepage:* in the User's Guide
page on the CYGWIN variable, either.

-- 
				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