public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: Cygwin 2.6.0: unreadable UTF-8 in Windows console
@ 2016-10-21 14:23 Ivan Vanyushkin
  0 siblings, 0 replies; 8+ messages in thread
From: Ivan Vanyushkin @ 2016-10-21 14:23 UTC (permalink / raw)
  To: cygwin

Hello Corinna,

Wednesday, October 19, 2016, 2:45:16 PM, you wrote:
> 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.

Looks good with new DLL, thank you!


--
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

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Cygwin 2.6.0: unreadable UTF-8 in Windows console
@ 2016-10-01  2:14 Ivan Vanyushkin
       [not found] ` <f4712f19-ef37-2040-1cda-3e352f09c8cd@SystematicSw.ab.ca>
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Ivan Vanyushkin @ 2016-10-01  2:14 UTC (permalink / raw)
  To: cygwin

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=

Same issue with any other commands like "grep", or with utilities built and 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 can be correctly displayed natively
(run: "type test.txt"), but Cygwin "cat" still has the same issue.

How should I display UTF-8 now?

Thank you.


--
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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-10-20 20:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-21 14:23 Cygwin 2.6.0: unreadable UTF-8 in Windows console Ivan Vanyushkin
  -- strict thread matches above, loose matches on Subject: below --
2016-10-01  2:14 Ivan Vanyushkin
     [not found] ` <f4712f19-ef37-2040-1cda-3e352f09c8cd@SystematicSw.ab.ca>
2016-10-01  5:17   ` Brian Inglis
2016-10-01  9:05     ` Brian Inglis
2016-10-02  6:29     ` Ivan Vanyushkin
2016-10-02  6:39 ` Bengt Larsson
2016-10-02  9:34   ` Ivan Vanyushkin
2016-10-19 12:01 ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).