EdInJapan Posted May 8, 2005 Posted May 8, 2005 In a tech support reply to me, TCH-Andy mentioned that some of the files on my site which would normally be ascii seemed to have uploaded in binary mode. I immediately set out to change settings in my ftp software, but then worried that this might cause me other problems. My site has both English and Japanese content. Therefore files that are typically ascii for English-only sites (html, php, etc.) are actually UTF8 encoded on purpose to maintain the 2-byte Japanese characters. So, my question is, in general, with UTF8 encoded files, is the correct transfer protocol still ascii, or will that break the UTF8 encoding? Quote
TCH-Bruce Posted May 8, 2005 Posted May 8, 2005 Character encoding of files has nothing to do with how the file is uploaded. Generally all .htm, .html, .php files should be uploaded in ASCII mode as well as Perl scripts (.pl or .cgi). Where .exe, .wav, .mp3 and .zip would be uploaded in binary mode. Quote
EdInJapan Posted May 8, 2005 Author Posted May 8, 2005 Gotcha. Thanks so much for the insight -- now to shine up those FTP software settings. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.