![](https://seccdn.libravatar.org/avatar/4ae764e8341d52573f918f95912768b5.jpg?s=120&d=mm&r=g)
Sjoerd Hiemstra wrote:
expatriate wrote:
The 'file' command yields "AppleSingle encoded Macintosh file".
It appears that the file is a word document that got encoded by the sender's mail program which runs on a Mac (correct me if I'm wrong).
My question is: Is there something I can tell the sender to do in order for me to receive the file"normally" ?
Yes, the sender should set his mailer to AppleSingle encoding if the receiver is a Mac user, and to Base64 encoding if the receiver is a Linux or Windows user.
On the other hand, there is a Linux version of Stuffit, that deals with this kind of encoding issues. Go to http://www.stuffit.com, click the Linux link in the upper right corner, and eventually you are led to the download of stuffit520.611linux-i386.tar.gz.
After unpacking, you'll find the files 'stuff' and 'unstuff' that are to be executed directly, so there's no need to compile. Just execute
unstuff <filename>
The program itself will detect what kind of file it is.
S.H.
Excellent. It works as you said. Thanks.