Matthew: Can you read the file into 'filetostr()' then use 'strtran()' to replace chr(26) (aka ctrl z) with nothing? Regards,
Jack Skelley Jack Skelley Senior Director, Programming/Computer Operations New Jersey Devils (973)757-6164 [email protected] ________________________________________ From: [email protected] [[email protected]] on behalf of Jarvis, Matthew [[email protected]] Sent: Thursday, December 01, 2011 2:16 PM To: [email protected] Subject: RE: [NF] control char makes text file FUBAR > Open it up using low-level file functions, and open up a second empty low- > level file. > Then read each byte from the source, and output each to the destination, > filtering > out non-ascii bytes as you go. My mistake... It's ^Z = End of File... So now I know why it terminates.... Great- now how the heck do I get it the heck out of there since when I try and read the file I come across this char and it thinks I'm done already??? _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/7d9e7f72b813014c8fd022cf04f820ed0cd...@ex08.drdad.thenewarkarena.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

