I'm using cygwin on Win7-64bit, and with "zh_CN.UTF-8" as default locale setting. Occasionally, some of the outputs from cygwin just can not be read with bad encoding like follows:
[junit] ▒▒▒▒: ▒Ҳ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ can't
Any idea? Thanks.
http://cygwin.com/faq-nochunks.html#faq.using.weirdchars
It's just caused by some Chinese character here.
Change the Terminal Options of Text, choose character set as "GBK". It works.