On 1/13/21 9:22 PM, Victor Ivanov wrote:
On 13/01/2021 20:06, n952162 wrote:
What encoding is your editor using?

vi?  How would I determine that?  My locale is C


You could use:

  :set fenc

to display the current encoding used for the file, or

  :set fenc=utf8

to force UTF-8 or any other encoding of your chosing. You can also add
a magic line with fenc to the file to always ensure that the specified
encoding is used, assuming you also have magic lines enabled in vimrc.

- Victor


  fileencoding= 195,3         55%


I suspect that's really useful for languages other than latin1.


Reply via email to