X-Recipient: archive-cygwin AT delorie DOT 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" To: "cygwin AT cygwin DOT 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 AT cygwin DOT com; run by ezmlm List-Id: 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 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/