Jump to content

Recommended Posts

Posted

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?

Posted

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.

Posted

Gotcha.

Thanks so much for the insight -- now to shine up those FTP software settings.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...