CentOS

2021-02-08 20:05:45

CentOS

1

###using file command###

[root@ipython report]# file --mime-encoding analysis.csv

analysis.csv: utf-8

###using vim command###

[root@ipython report]# vim analysis.csv

:set fileencoding

fileencoding=utf-8

2

####using iconv command####

syntax:

iconv -f old_encoding -t new_encoding filename

###example###

[root@ipython report]# iconv -f utf-8 -t gbk analysis.csv > new_analysis.csv

###using vim command###

:set fileencoding=gbk

:wq!

CentOS

10-07

10-07

11-29

win710-25

10-24

12-11

10-17

php08-30

11-21

DNS12-03