The code file look weird in MAC TextEdit

MAC don’t handle plain text document very well, and sometimes the codes will display corrupted like your screenshot. There are 3 option for mac users

 

1) Please refer to Apple’s support to change the setting in TextEdit to allow you to open plain text document: http://support.apple.com/kb/ta20406

2) Use Chrome to open the file. It will display the code inside properly

3) Download http://www.sublimetext.com/2 which is a plain text editor so you can open the text file properly.