When working in a mixed environment, you are bound to run into those ^M characters at the end of your lines at some point. Here is a great link describing how to fix it. They talk about vi, but gVim works the same way.
Oracle Applications – Business & Technology: Removing ”^M” from SQL*Loader datafile
Get every new post delivered to your Inbox.