This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Cygwin 2.6.0: unreadable UTF-8 in Windows console
- From: Bengt Larsson <lists dot cygwin4 at bengtl dot net>
- To: cygwin at cygwin dot com
- Date: Sun, 02 Oct 2016 08:29:11 +0200
- Subject: Re: Cygwin 2.6.0: unreadable UTF-8 in Windows console
- Authentication-results: sourceware.org; auth=none
- References: <123291584.20161001051347@vanav.org>
- Reply-to: cygwin at cygwin dot com
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