Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to mount a ftp server with curlftpfc. But the server has unknown encoding, and all the filenames look like ???????.avi, ??????.inf.

I know that I need to specify the encoding for curlftpfc, but what encoding should I use? Is there any simple way to get the encoding used on the server?

share|improve this question
Do you know in what country the server is located, or what is the server software / version? – Kovensky Apr 4 '12 at 10:46
Ask FTP server administrator.. – Evil Angel Apr 4 '12 at 10:47
Filenames should be in russian. It is really impossible to ask administrator, otherwise I would definitely do this. – Stanpol Apr 4 '12 at 10:51
How to determine FTP server software / version ?? – Stanpol Apr 4 '12 at 10:54
@Stanpol the server sends that by itself as part of the ftp handshake; you can see it with clients like ftp or filezilla – Kovensky Apr 4 '12 at 10:59
up vote 1 down vote accepted

Since the filenames are expected to be in russian, the probable encodings include KOI8-R, CP1251 and, more rarely, ISO-8859-5.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.