iT邦幫忙

0

Cygwin Script output 出來的值變亂碼??

lmutil lmstat -f 127 -c 7788@bvtwlis1 | grep -c "Users" >>123.txt

以上是我的.sh ,不知為何output 出來的數值變亂碼??
要是去掉 >>123.txt 就正常. 謝謝大大.

圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

1 個回答

4
shen129
iT邦新手 1 級 ‧ 2011-03-08 08:53:33
最佳解答

用 locale 看看cygwin console的編碼,設定成UTF-8以後再執行看看如何?

我要發表回答

立即登入回答