Is there a way to set FileZilla to preserve the existing encoding of my text files, which are UTF-8, when transferring from Windows to a Linux server? In the FileZilla Site Manager, I have selected the Charset tab and chosen Use custom charset, and filled in UTF-8.
On the server, I can inspect the file with
file -i myfile.html
and it shows
myfile.html: text/html; charset=unknown-8bit.
Further, if I try to use iconv, it requires an input encoding. Trying
iconv -f unknown-8bit -t UTF-8 myfile.html
I get the error
iconv: conversion from `unknown-8bit' is not supported
If I try
iconv -f UTF-8 -t UTF-8 myfile.html
I get
illegal input sequence at position 344
which is the first position of a non ascii character.