- 論壇徽章:
- 9
|
回復(fù) 6# alexei99
從文件來(lái)看,你的編碼是GBK,我?guī)湍戕D(zhuǎn)了下碼你再導(dǎo)入試試。下面是我對(duì)你的文件的操作:- [cenalulu@localhost 2012-12-02]$ more aaaa.word
- ����,����,�Ա�,���
- 1,����,��,20
- 2,����,��,20
- 3,����,��,20
- 4,alex,man,25
- [cenalulu@localhost 2012-12-02]$ file -bi aaaa.word
- text/plain; charset=iso-8859-1
- [cenalulu@localhost 2012-12-02]$ iconv -f gbk -t utf8 aaaa.word
- 編號(hào),姓名,性別,年齡
- 1,張三,男,20
- 2,李四,男,20
- 3,王五,男,20
- 4,alex,man,25
- [cenalulu@localhost 2012-12-02]$ iconv -f gbk -t utf8 aaaa.word > aaaa.word.new
- [cenalulu@localhost 2012-12-02]$
復(fù)制代碼 |
|