[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] invisible characters?



Webmaster wrote:
> 
> Hi, I have a Perl script that assembles hundreds of little text files into
> big html files, then ftp's the html files to a different Unix server.
> Occasionally, the script crashes upon reaching a certain file, and I think
> it's a little strange that the file was always last modified in BBEdit on a
> Mac, then uploaded as ASCII through NetFinder. I was wondering, is there
> any difference between a Mac text file and a Unix text file? Is it possible
> that the Mac/BBEdit is inserting a strange character here or there (^M is a
> character that pops up a lot when viewed in Unix)? Or could the problem be
> corruption during FTP (from my Mac to the server)? Is it best to keep Mac
> and Unix separate, or should it not matter?
> 
> Thanks very much for your advice!
> 
> Rich Goldman
> rich@cgninteractive.com

It could be BBEdit. In my scripts, it occasionally writes an invisible
character which BBedit itself marks as a red "?" char (in invisib.
mode). MacPerl complains about it as an unrecognized "\005" character.
Anyone to explain this weirdness? 

Philippe Wiede
mailto:pwiede@virtuoso-net.com

.............................................................................
Virtuoso. The Global Communications Agency. (r)
mailto:email@virtuoso-net.com, http://www.virtuoso-net.com/
.............................................................................

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch