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

2016-10-20 Thread Ivan Vanyushkin
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

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

2016-10-19 Thread Corinna Vinschen
On Oct 1 05:13, 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 > ▒

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

2016-10-01 Thread Ivan Vanyushkin
I want to share binary built under Cygwin 2.6.0 with other user, that has no LANG set. In previous version all binaries worked correctly with UTF-8 input text. But now this doesn't work as expected. Some more simple tests. // Run Windows console. cmd C:\Cygwin_2.6.0\bin\echo ±5° ▒▒5▒▒ C:\Cygwi

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

2016-10-01 Thread Bengt Larsson
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 > ?? ??

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

2016-10-01 Thread Ivan Vanyushkin
"set LANG=C.UTF-8" has fixed the issue on Cygwin 2.6.0. But documentation says [1], that "The default locale in the absence of the aforementioned locale environment variables is "C.UTF-8"." Seems this is broken in Cygwin 2.6.0. "chcp 65001", console font or console charset doesn't matter here.

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

2016-09-30 Thread Brian Inglis
On 2016-09-30 22:34, Brian Inglis wrote: On 2016-09-30 20:13, 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

Cygwin 2.6.0: unreadable UTF-8 in Windows console

2016-09-30 Thread Ivan Vanyushkin
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 ▒▒. ▒