I'm trying to open .nfo file correctly with mac terminal (eventually with iTerm2) . I've tried it already with vim:
vim file.nfo
:set encoding=cp437
But it didn't helped. Maybe there other tools? May be something in Brew repository?
|
Your question is a bit ambiguous because you don't explicitly state what vim is or is not doing. A .nfo file is just a text file. Vim should be able to correctly handle Unicode encoded text files. If it is a codepage issue then this question on Stack Overflow should explain things: How can I detect the encoding/codepage of a text file. |
|||
|
|
nano file.nfo? or is the encoding not working? – FLY Feb 12 at 14:59