From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 71727 invoked by alias); 2 Oct 2016 06:29:34 -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 71606 invoked by uid 89); 2 Oct 2016 06:29:24 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=3.0 required=5.0 tests=AWL,BAYES_50,LIKELY_SPAM_SUBJECT,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM autolearn=no version=3.3.2 spammy=lc_messages, LC_MESSAGES, unreadable, vanyushkin X-HELO: homiemail-a33.g.dreamhost.com Received: from sub4.mail.dreamhost.com (HELO homiemail-a33.g.dreamhost.com) (69.163.253.135) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 02 Oct 2016 06:29:14 +0000 Received: from homiemail-a33.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a33.g.dreamhost.com (Postfix) with ESMTP id 720A1A004F14 for ; Sat, 1 Oct 2016 23:29:12 -0700 (PDT) Received: from Laptop3.. (unknown [95.109.105.178]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: spamprotect@bengtl.net) by homiemail-a33.g.dreamhost.com (Postfix) with ESMTPSA id ADF3CA004F13 for ; Sat, 1 Oct 2016 23:29:11 -0700 (PDT) From: Bengt Larsson To: cygwin@cygwin.com Subject: Re: Cygwin 2.6.0: unreadable UTF-8 in Windows console Date: Sun, 02 Oct 2016 06:39:00 -0000 Reply-To: cygwin@cygwin.com Message-ID: <75a1vb1q48pqra6e9ksi3sricp66a59db9@4ax.com> References: <123291584.20161001051347@vanav.org> In-Reply-To: <123291584.20161001051347@vanav.org> User-Agent: ForteAgent/7.20.32.1218 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-10/txt/msg00013.txt.bz2 Ivan Vanyushkin wrote: >Something has changed in version 2.6.0, and now UTF-8 text can't be displayed in Windows console (cmd). > >1. Create a file "test.txt" with non-ASCII text in UTF-8 encoding. >2. Run "cmd". >3. Run: > >C:\Cygwin\bin\cat test.txt >???????????????? ?????????????? ???? ?????? 8000 ??. ???? ?????????????????????? ??????????. > >Non-ASCII text is not readable. Older Cygwin 2.5.2 has no such issue. > >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 > >C:\Cygwin\bin\locale >LANG= >LC_CTYPE="C.UTF-8" >LC_NUMERIC="C.UTF-8" >LC_TIME="C.UTF-8" >LC_COLLATE="C.UTF-8" >LC_MONETARY="C.UTF-8" >LC_MESSAGES="C.UTF-8" >LC_ALL= You don't have LANG set to "C.UTF-8". Do that. -- 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