I have a bit of a problem in cygwin,
When I use make utility in cygwin, it prints rectangles instead of text. Also when text is not english, i.e. polish or russian I see rectangles instead of characters. But when I print those symbols I see them. I'm using mintty, also XTerm, mintty is a bit better.
Output of locale
from Xterm:
$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_ALL=
But the thing is while my windows xp is english version, I'm not in US and have Russian time and date settings, maybe it's the problem?
I want to see correctly texts in different languages, is there a way?
Also mintty and xterm behave a bit different. I have a text file in polish language and cat
in mintty gives no rectangles for that text, while cat
in xterm gives me rectangles for some characters.
Output for make looks like this in mintty:
$ make
make: ▒▒▒▒ `default' ▒▒ ▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒.
and like this:
$ make
make: �� `default' � ���� ����� ���.
in xterm.
I found a way to fix it for sertain languages: https://stackoverflow.com/questions/13094248/how-do-i-get-accented-letters-to-actually-work-on-bash when I set options for mintty like said there and specify character set ISO-8859-2, I can see polish text fine. Only I don't undertand, I saved text in utf-8 format, why do I need set charset, as if my text was in ANSI.
And I can only see make results (which is in russian, i don't know why) when I set charset to CP1251.