Welcome! Enter your question below. Please use words like "Who, What, Where, When, Why, How, etc..." in your question. Nothing to ask? Click here for a random, un-answered question.

How do you auto set file encoding?

1,022,320questions on
Add New Page
Add New Page Talk0

set fileencodings=ucs-bom,utf-8,default,latin1
this is default, vim will try to detect encoding n that order, change order how suites you
If you want to force encodng on opening file:

e ++enc=latin2

Also on Fandom

Random Wiki