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:from:to:subject:date:reply-to:message-id :references:in-reply-to:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=sEqi/AKAO3XOm/5a M4gbSTj9vj1ydWtCr+Qpj9Au2yQdBa/+DwPuCHPv6kdip2nQA/UHaPfvjLJryfEy bACkgD2KIFNKvYrsTjui3tCoVrH1ufvFI7VxahDpVJ79is0PiKb/huLE9lD7OUCD hwA53q0K2wOlM3LUjCVTdRSp1cw= 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:from:to:subject:date:reply-to:message-id :references:in-reply-to:mime-version:content-type :content-transfer-encoding; s=default; bh=7YqSefwg1nur4AyJ7tdf+w Jztzc=; b=xJJG5XU1nWcocwKRBIPgt2Mgsn9h6Hzy9e4i/0YI5hvdQmxCB6XJot /EnIVRecAlGWWjWy0CsWipR4FD63VlrGObrsfqhoS89zj/YLZmTmuqQb2m0l/Hcr eRiyihfe4K38nViVIsspgIPx8giK282PzMbwBRJ/HPh1xRcDrRYjY= 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 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 From: Bengt Larsson To: cygwin AT cygwin DOT com Subject: Re: Cygwin 2.6.0: unreadable UTF-8 in Windows console Date: Sun, 02 Oct 2016 08:29:11 +0200 Reply-To: cygwin AT cygwin DOT com Message-ID: <75a1vb1q48pqra6e9ksi3sricp66a59db9@4ax.com> References: <123291584 DOT 20161001051347 AT vanav DOT 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 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