Quite often I use an IDE on Windows to edit the file and then FTP the file to a Linux box. (Mainly because vi sucks major league, big time!)
Anyway, the Unix compiler sometimes complains about rogue characters. An easy way to fix this is to use the
utility which reads the text file and converts to Unix format.