From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 51110 invoked by alias); 28 Jul 2017 18:14: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 47203 invoked by uid 89); 28 Jul 2017 18:14:13 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,FROM_LOCAL_NOVOWEL,HK_RANDOM_ENVFROM,HK_RANDOM_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=Hx-languages-length:1198 X-HELO: mail-ua0-f179.google.com Received: from mail-ua0-f179.google.com (HELO mail-ua0-f179.google.com) (209.85.217.179) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 28 Jul 2017 18:14:12 +0000 Received: by mail-ua0-f179.google.com with SMTP id w45so169424994uac.5 for ; Fri, 28 Jul 2017 11:14:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-transfer-encoding; bh=zMd4C+exCXtSvkowKKr0W716H84VmQFY1mTsrWPeEaQ=; b=Tq9ia8crfxlrRKMCqrBTU8pzI8iBsvCzrVMOdaeYnITG90yaodwzQ1q2aqVEbmN21T aASXNWbXxg6prUuNmyPyiX6ZJdfLVYEERBI8gOCsNyg+lTZqolax2NkfNphVWEfyLKNj cZPny0D/B5P0UCebNu/yQ96eauFL2/yL0mFHscMc9kHzjaE3aSzcKL62JJy1OG5uBI3X Rrfre/P5VkYy6UiNCxUzO9YuaFN/++8dvGBd6piJBFZwI1YJofbKQdOiNr775d91LGIt KuL2KM5xhsM04Zn953sTxsNCsqXO2U1v+Ubqc6qClZlTOv+ACmeQNEnQgDpjtRPAq89D mVww== X-Gm-Message-State: AIVw113PMsTR1tqpQyTMTtBr29qc1Ptqo6NxGpuV029mxqz/rus43UCE eQtZjogdUf1Q5t6tGT4yOu1DRYex4M6u X-Received: by 10.31.228.4 with SMTP id b4mr4326872vkh.49.1501265650368; Fri, 28 Jul 2017 11:14:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.143.136 with HTTP; Fri, 28 Jul 2017 11:13:49 -0700 (PDT) In-Reply-To: References: <60db3460-a1c1-7cc2-0369-a7109d782ea0@redhat.com> <597b2988.4338ca0a.87fc4.4954@mx.google.com> From: Doug Henderson Date: Sat, 29 Jul 2017 02:48:00 -0000 Message-ID: Subject: Re: [ANNOUNCEMENT] Updated: libreadline7-7.0.3-3 To: cygwin Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2017-07/txt/msg00413.txt.bz2 On 28 July 2017 at 08:54, Eric Blake wrote: > On 07/28/2017 07:09 AM, Steven Penny wrote: >> On Fri, 28 Jul 2017 06:41:08, Eric Blake wrote: >> $ chcp.com 65001 >> Active code page: 65001 >> >> $ ./cygwin.exe >> =CE=A9 >> >> $ ./mingw32.exe >> =CE=A9 >> >> $ chcp.com 437 >> Active code page: 437 >> >> $ ./cygwin.exe >> =CE=A9 IIRC, cygwin was changed some time ago (in the last year?) to always emit unicode or UTF-8 to the console (i.e, it calls a different Win32 API function). Again, IIRC, it used to sometimes use one API call and sometimes the other to write UTF-8 and unencoded bytes, depending on something, perhaps the code page? I think it was written up in a cygwin1.dll update announcement. It looks like the mingw32 cross-compiler c runtime has not made that change. That's the Microsoft supplied CRT, I believe. In any case, this problem has nothing to do with libreadline of any version, nor the current version of cygwin1.dll. It is possible that this lies in the domain of mingw32, which suggests that it may be off-topic here or at least needs a new subject line. HTH Doug --=20 Doug Henderson, Calgary, Alberta, Canada - from gmail.com -- 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