I have a log file, and when I open it via vim, it looks not readable, and it has [converted] at the bottom. What does [converted] mean?
Is there a way to fix the format issue so that it is human readable?
It means that vim detected that the file did not match the charset given by your locale and made a conversion. If you run the command
Notice the last 2 options,
The first is the encoding used for the current file, the second is a comma separated list of recognized encodings.
So when you see that message
You can see:
In general, it means that vim detected the file did not match the charset given by your locale and made a conversion.
To see more details, try
It means that the file-on-disk does not use the same charset as Vim's memory area, and that the conversion from one to the other was successful. Press escape key and type this command.
Save the file and try reading again.