I have an SSIS package that performs the following.
- Run a SQL script
- Export the results to a flat file (UTF-8 encoded,
;
delimited, and\n
for new lines) - FTP results to a Solaris machine (binary format)
The problem is that when the file shows up on my Solaris box, it has the following at the start of the file.
\377\376
I have tried dos2unix, and it still has not corrected the issue. In fact, it changes the \377\376 to \227\226, not very helpful.
Is there a way to remove these characters from my file? When they are there, they mess with grep and other Unix tools, like head.