The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Color 1.0.x: Blue and Red channels may display incorrectly iBot OS X Support RSS 0 07-23-2009 05:30 PM
PATH variable set incorrectly? jon80 UNIX for Dummies Questions & Answers 1 09-11-2008 12:39 PM
swlist is not displayed in HP-UX vasanthan HP-UX 4 04-24-2008 08:03 AM
Hostname displays incorrectly shamik Linux 15 12-01-2007 10:43 AM
Writing to a log file incorrectly heprox Shell Programming and Scripting 5 11-19-2006 01:27 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-24-2009
chebarbudo's Avatar
chebarbudo chebarbudo is offline
Registered User
  
 

Join Date: Nov 2008
Location: various
Posts: 188
character displayed incorrectly by ftp

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
  #2 (permalink)  
Old 08-24-2009
chipcmc chipcmc is offline
Registered User
  
 

Join Date: Aug 2009
Location: spain
Posts: 93
You can probe to look locale valors if is a frech serv maybe yo need to use fr_FR.iso88591. And you can see the properties of your terminal manage (gnometerminal,putty, etc...) this aplications can be configure to.
Reply

Bookmarks

Tags
charset, ftp, lftp, ssh

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:35 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0