Tell me more ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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?

share|improve this question
1  
How about nano file.nfo ? or is the encoding not working? – FLY Feb 12 at 14:59
nano didn't helped too. I'm starting to think that there is some strange encoding. – Igor Konoplyanko Feb 12 at 15:15

1 Answer

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.