When using a FTP client to transfer files between your computer and the website like FileZilla, you can select the transfer type as Auto, ASCII, and Binary. Usually Auto will work just fine.
You can get more information here: http://wiki.filezilla-project.org/Data_Type