You are probably opening the config file with the wrong program, and its either showing you hex code or more possibly not the correct end of line.
Just select a config file, right click it, choose "open with" and then choose wordpad.Most config files CAN be editedwith notepad too, but some...