linux vim如何临时改变文件的编码方式

2025-05-09 00:21:28
推荐回答(2个)
回答1:

临时改变的话用fileencoding参数,: set fenc=utf-8

回答2:

:w ++enc=utf8
:w ++enc=gb2312
:w ++enc=big5