vim byte order mode

Posted by on Jan 14, 2013 in Linux, text editing | 0 comments

My moment of glory

Then I opened the file again with VIM, this time using “-b” option [“-b” opens the file in binary mode]

OMG?! I DO have some extra characters at the file’s start.

VIM showed me some additional characters at the file’s beginning :

锘??php^M

session_start();^M

I chopped off the extra characters with no mercy, until it looked like this :

<?php^M

session_start();^M

All are happy! And i am the happiest!

Click the Green box to get Ri-Tech Remote help Download