Depending on the size of the file, you could try a hex dump of it with
od -xc filename | more
It's not that easy to read, but if you cut and paste the lines from your script into a new file first it might make it a bit easier. The hex dump will show you the values of any dodgy characters in the file.
Regards,
LHLTech
IBM Certified Specialist - AIX System Support
Halfway through CATE exams!