delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=Fak5IRCsXc4nBWFBnE8WgasPJM9aNuen4oe5G0CeB3baqSdHZpY+a | |
V6zDtqqSKai3OGn/tvFB8jIsztP/s0drKOEUeBeNlb/tKu5H4cgel3uOSqqAXhBg | |
WDqsMiEYRVjncBxZZxaszgRXGx1cgrNtA2p9hH2ykXsPiG7uOYixpU= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=PFAB7ajesNI95vl/+t0S6hCW1nQ=; b=jIo5D5oo9FQBfdPEWEtpZ0BgIB3F | |
a+aM1is39Pah9pfxcnzikuavV87UCQn7z0me1M8KTQAIvw5HOWrbZpmB4qwt3exp | |
nidZXuXlviVnPYrPhNqYeMSuYtkZCepxYC7yakIVIM93PhmLWUzZVqzDF3p1b0gx | |
1NPhVBWuSAoGzXs= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-96.2 required=5.0 tests=AWL,BAYES_00,BODY_8BITS,GARBLED_BODY,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,LIKELY_SPAM_SUBJECT,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=lc_time, LC_TIME, LC_MONETARY, lc_all |
X-HELO: | drew.franken.de |
Date: | Wed, 19 Oct 2016 13:45:16 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Cygwin 2.6.0: unreadable UTF-8 in Windows console |
Message-ID: | <20161019114516.GE4801@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <123291584 DOT 20161001051347 AT vanav DOT org> |
MIME-Version: | 1.0 |
In-Reply-To: | <123291584.20161001051347@vanav.org> |
User-Agent: | Mutt/1.7.0 (2016-08-17) |
--5xSkJheCpeK0RUEJ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Oct 1 05:13, Ivan Vanyushkin wrote: > Something has changed in version 2.6.0, and now UTF-8 text can't be displ= ayed in Windows console (cmd). >=20 > 1. Create a file "test.txt" with non-ASCII text in UTF-8 encoding. > 2. Run "cmd". > 3. Run: >=20 > C:\Cygwin\bin\cat test.txt > =E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92= =E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92 = =E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2= =96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92 =E2=96=92=E2=96=92=E2= =96=92=E2=96=92 =E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92 8000= =E2=96=92=E2=96=92. =E2=96=92=E2=96=92=E2=96=92=E2=96=92 =E2=96=92=E2=96= =92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92= =E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2= =96=92=E2=96=92=E2=96=92=E2=96=92 =E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2= =96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92. >=20 > Non-ASCII text is not readable. Older Cygwin 2.5.2 has no such issue. >=20 > C:\Cygwin\bin\uname -a > CYGWIN_NT-10.0 PCName 2.6.0(0.304/5/3) 2016-08-31 14:32 x86_64 Cygwin >=20 > C:\Cygwin\bin\locale > LANG=3D > LC_CTYPE=3D"C.UTF-8" > LC_NUMERIC=3D"C.UTF-8" > LC_TIME=3D"C.UTF-8" > LC_COLLATE=3D"C.UTF-8" > LC_MONETARY=3D"C.UTF-8" > LC_MESSAGES=3D"C.UTF-8" > LC_ALL=3D >=20 > Same issue with any other commands like "grep", or with utilities built a= nd run under Cygwin 2.6.0. > Same issue in other Windows consoles, like ConEmu or FAR Manager. > If I change Windows console encoding to UTF-8 (run: "chcp 65001"), file c= an be correctly displayed natively > (run: "type test.txt"), but Cygwin "cat" still has the same issue. >=20 > How should I display UTF-8 now? I applied a patch to fix this regression and uploaded a developer snapshot with this change to https://cygwin.com/snapshots/ Please test. Just exchanging the Cygwin DLL is sufficient, no need to install the entire package. Thanks, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --5xSkJheCpeK0RUEJ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYB1zMAAoJEPU2Bp2uRE+g4IwQAJ5SbMx6UmnwX7zZ+8RxPOKL uVdLYkSHmRajiXu5NYfVTvEHt9wXptneU6G8+qTL8SkZco7v+faA8hUB/YR67zn/ fc/fTARgraKQ4dPLmmyDF0ATR1zs0ZmWlVMY0lBCm2lCW/oWC+gezyIDB3ksArUM hfCbAyLzUsQvcImRhH8pCW7Sawo65jdSzuoDbhFBuTkJ1Fs1xq4+3MXo52BjPJCp YFR5WlROAcPtv9CM8nspcbYiECGg00RLcqnATlHa0d0ZrL5wyCXdpkC7FX2yz6nJ hQJAfYwwieyRJQGU1LQZd7Vx72lWkEw1odVJAnGbcGxh57qKbDQ6Gav/3b+W0XdT cdTsOkDuTsYqN1vYC9hTmjeBrC7VK+BAmMvzUEb5bmnjVl5TfRDU9f64bnoUG7Kj 1dOipBTc/Lz1fcVuwapmDTdcwzEzw4SPh2+ks8xqSIRHmOK4Y2vugR6n1TBc6tIe wJ/rvgQPhrkShLVMLy5xoexxrcXvtz4fwUVLUwGZ3LYlGFHoMpAwFbWO4NAA74rE YrPgvIFcLW+JxOArvV/MtH96DwmDgKOperJo4+FHxpIImI28cJwXpcK0pIwn1yNt 5ors4QJ6BnTL9QmQ7m+GKe66CZ9ysrK2QwqOrdlytzoFeRJLdmP3xpZ0n21HLY3T E/s66Lsa9qpegpfDBIDb =v6cR -----END PGP SIGNATURE----- --5xSkJheCpeK0RUEJ--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |