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: Problem with Win32/UNIX character set


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