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
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
"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.
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 ▒▒.
▒
4 matches
Mail list logo