VIM setting file encoding format

Convert file coding directly in VIM, such as converting a file to UTF-8 format
Enter: set file encoding = UTF-8 in the open file

reference resources

Read More: