Wow.... I don't know whether to feel stupid or what.
I've been using notepad++ to edit the files, and it was either the encoding being set to UTF8 and/or the EOL (end of line) being set to Mac for some strange reason. Set it to windows, and re-encoded them all in plain ASCII and all is well.
Wow... Sorry to have wasted valuable forum space, heh.