리눅스/Vim

vi 파일 인코딩 확인

크크크크 2022. 10. 25. 09:28
반응형

1. 인코딩 확인하기

:set encoding

2. 인코딩 변경하여 보기

:e ++enc=utf-8

3. 인코딩 변경하여 저장하기

:set fileencoding=utf-8

 

 

참조: https://bloghelloworld.tistory.com/212

반응형