X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 	tests=AWL,BAYES_20,J_CHICKENPOX_83,RCVD_IN_DNSWL_LOW,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-Id: <1237558001.29448.1306441591@webmail.messagingengine.com>
From: "Charles Wilson" <cygwin@cwilson.fastmail.fm>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Subject: Re: What is your default ANSI codepage?
Date: Fri, 20 Mar 2009 10:06:41 -0400
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

So I was thinking, what if cygwin supported codepage 437 in this manner?
Since that is the "OEM" codepage, then we'd have a workaround of sorts
if we discovered a need later for the "old" codepage:oem setting.

So, I compiled your test app using 'gcc -mno-cygwin', and did the
following from a DOS box (WinXP):

H:\>codep
ANSI codepage: 1252

Latin-1, ok...

H:\>chcp 437
Active code page: 437

but then...

H:\>codep
ANSI codepage: 1252

huh? Does GetACP really get the "active" code page?

--
Chuck

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

