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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.