Cygwin输出问题

Cygwin输出问题,cygwin,output,Cygwin,Output,我有这个脚本cut-d“|”-f8,9,13,23 info.txt>result.txt 当我打开result.txt时,它如下所示: R S L T = R A C 2 6 8 | R A W T = r i c k a r d a d a m c e s a r t w o s i x n i n e RSLT=RAC268|RAWT=rickard adam cesar two six nine 当它看起来像这样时: R S L T =

我有这个脚本
cut-d“|”-f8,9,13,23 info.txt>result.txt
当我打开result.txt时,它如下所示:

 R S L T = R A C 2 6 8 | R A W T = r i c k a r d   a d a m   c e s a r   t w o   s i x   n i n e          
 RSLT=RAC268|RAWT=rickard adam cesar two six nine
当它看起来像这样时:

 R S L T = R A C 2 6 8 | R A W T = r i c k a r d   a d a m   c e s a r   t w o   s i x   n i n e          
 RSLT=RAC268|RAWT=rickard adam cesar two six nine

它在控制台中工作,所以我猜问题出在输出操作符中。

您是如何打开result.txt的?文本文件的编码是什么?当我在一个不知道UTF-8的编辑器中打开一个UTF-8文本文件时,我看到了这一点。在同一个文本编辑器中打开时,输入看起来如何?