I have a file that has the name in one of the lines as MAR�A MENDOZA in Windows. When this gets FTPed over to UNIX it appears as MAR�A MENDOZA. Is there anyway to overcome this? Its causing a issue because the file is Postional and fields are getting pushed by 2 digits..
Any help would be appreciated!
What character set is windows using, and what character set is your UNIX system using?
you can try unicode mode
I got it to work...I changed the mode to binary and it worked(duh!)
Thanks for the reply guys!
2 Likes
After changing the FTP mode to binary, you will probably need to remove extraneous carriage return characters due to the different line terminator in M$ and unix text files.
cat windows_file.txt | tr -d '\r' > unix_file.txt