From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27142 invoked by alias); 19 Mar 2017 04:23:15 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 26806 invoked by uid 89); 19 Mar 2017 04:23:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=honestly, RELEASE, H*M:google X-HELO: mail-ot0-f172.google.com Received: from mail-ot0-f172.google.com (HELO mail-ot0-f172.google.com) (74.125.82.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 19 Mar 2017 04:23:02 +0000 Received: by mail-ot0-f172.google.com with SMTP id o24so115931033otb.1 for ; Sat, 18 Mar 2017 21:23:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:to:subject:references :user-agent; bh=13fYKJN82gvzLMJAaKiPf7oZEwgUY54isSRfc1qf3Qo=; b=MOZIofD4fACKyHIOatzSxG0vQ9PqkSm2UMx1qZ4bn9p2LeO1hstXCVIKvs9iuI7gIy EMKh5S8TAB4ES6EAVxgVhCvOgVpsis5zjGwDcYctJ5nnvFA+9dVqtQXcrEk5ebX2/anN lfRCNAGu6VSm9KCiR03m5Sj90MDnzcTq2naR0m8aAZYwlysFFe/PJZnRbfvBO3R3MZ4H Q9uTwQZw8ERwA2rsH4GMiD+y6HlkZSI7en1ix72ivXSdEQhP/rUj+ca666fSsIWeu9Rj hCuJBNghHL3zAAtXjW59ot7FPzHd0S/oxz2+dyFILZjmiFtaXMQ07b4WxUoHa1gPwTUg s9xw== X-Gm-Message-State: AFeK/H0sgrlbLm+lur+39/d3vKPfJoEp8WbTAONsHNizH4/XnSILUAXrgXIGja+T0G0YTg== X-Received: by 10.157.51.50 with SMTP id f47mr12953707otc.192.1489897381898; Sat, 18 Mar 2017 21:23:01 -0700 (PDT) Received: from a4M ([2605:6000:9fc0:56:811:343f:f904:d318]) by smtp.gmail.com with ESMTPSA id u76sm5845182oie.1.2017.03.18.21.23.01 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 18 Mar 2017 21:23:01 -0700 (PDT) Message-ID: <58ce07a5.4fabca0a.f92b8.e4a4@mx.google.com> Date: Sun, 19 Mar 2017 04:23:00 -0000 From: Steven Penny X-Google-Original-From: Steven Penny To: cygwin@cygwin.com Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.7.0-0.1 References: <20170203083947.GN8905@calimero.vinschen.de> Content-Type: text/plain; charset=utf8; format=flowed User-Agent: Tryst/2.0.1 (github.com/svnpenn/tryst) X-SW-Source: 2017-03/txt/msg00193.txt.bz2 On Fri, 3 Feb 2017 09:39:47, Corinna Vinschen wrote: > Why are you switching to cp 65001, btw? It's completely unnecessary > for utf-8 to work in the Windows console. Just stick to the default. Sorry for delayed response. I knew I had a reason for this, but honestly forgot what it was. Here is the reason: $ cat omega.c #include int main() { printf("Ω\n"); } $ x86_64-pc-cygwin-gcc -o cygwin.exe omega.c $ x86_64-w64-mingw32-gcc -o mingw32.exe omega.c $ chcp.com 65001 Active code page: 65001 $ ./cygwin.exe Ω $ ./mingw32.exe Ω $ chcp.com 437 Active code page: 437 $ ./cygwin.exe Ω $ ./mingw32.exe ╬⌐ So everything is normal until you run a mingw32 program with the wrong code page. You would never notice this with cygwin programs because as you can see they work with either code page. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple