Take the 2-minute tour ×
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 an .nfo file correctly with the mac terminal (eventually with iTerm2) .

I've tried it already with vim:

vim file.nfo
:set encoding=cp437

But it has not helped. Maybe there are other tools? May be something in the Brew repository?

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

1 Answer 1

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
add comment

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.