Hi there,
I have a ftp server called atlantis. Because of the f...g french characters, I noticed something very weird. Depending on what program I use (ftp, lftp or ssh) the same character is displayed as three different ways.
On my local computer, the file is correctly displayed as "modéles". This file was uploaded on atlantis using lftp. Thus lftp displays the remote file correctly. But if I use builtin ftp or ssh, the file name is displayed incorrectly
Here you see the way the file is displayed on my local computer using terminal, ftp and lftp :
Code:
xxx@localhost:~$ ls -l
drwxr-xr-x 2 xxx xxx 4096 2009-07-22 05:03 Modéles
xxx@localhost:~$ echo -e "open atlantis\nuser xxx xxx\nls" | ftp -n
drwxr-xr-x 2 xxx xxx 4096 Jul 22 03:03 Mod??les
xxx@localhost:~$ lftp xxx:xxx@atlantis -e "ls; exit"
drwxr-xr-x 2 xxx xxx 4096 Jul 22 03:03 Modéles
Here you see the way the file is displayed on the atlantis server using ssh :
Code:
xxx@atlantis:~$ ls -l
drwxr-xr-x 2 xxx xxx 4096 2009-07-22 05:03 Modéles
Can you help me understand what's wrong ?
Thanks for your help.
Santiago