string help

I have a logging.m file that when run on OSX 10.3.9 works fine but when i run it on 10.4.6 it puts invisible text in my text file how can I fix this ?

You’re going to have to be way clearer and more specific before your problem can be addressed.