This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin 2.6.0: unreadable UTF-8 in Windows console


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]