LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-10-2010, 01:01 AM   #1
kevinyeandel
Member
 
Registered: Jun 2008
Posts: 49

Rep: Reputation: 16
character conversion issue - wrongly displayed filenames.


Hi
Having problems displaying French chars.
They are dumped into an nfs share by a Windows/cifs configuration which has been blamed for this unwanted behavior but when I transfer a file continaing é via WinSCP to the RedHat, instead of getting the filename Résponse.txt I see R?sponse.txt.
When I refresh WinSCP to view the file it views it ok.

If I do
$vi Résponse.txt
a new file is created.
When I do an ls I see R?sponse.txt
If I then do another
$vi Résponse.txt
on my earlien created file then vi reports
"R<e9>sponse.txt" 1L, 5C
Which means the file Résponse.txt is loaded.

If i do
ls >x
vi x I see
RĂ©sponse.txt


In my environment I have
LC_ALL=en_GB.utf8
LANG=en_GB.utf8

I get the é char with the AltGr+e key combo.

Any ideas why ls'ing files which these chars result in an wrongly displayed filenames?

Thanks
Kevin

Last edited by kevinyeandel; 12-10-2010 at 01:03 AM.
 
Old 12-10-2010, 08:47 PM   #2
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
Woah, woah, woah. Slow down a little. Nfs, cifs, scp? Exactly what path did these files take? Where did they originate? What path did they take? What operating systems do the computers involved run? (I see Redhat and Windows involved, but I don't know specifically how.) Are there three computers involved, or are you confusing nfs and smb/cifs (or is something else going on)?

I may have found an answer for you here:
(relating to the WinSCP transfer)
Quote:
OK, so I suppose that your server is OpenSSH, right?
OpenSSH does not announce support of UTF-8. If your server uses UTF-8 natively, you need to force WinSCP to use it. Please read FAQ.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Implications of setting K3B to use 103 character joliet filenames? General Linux - Software 2 05-28-2007 10:26 AM
Character Set displayed problem. chrislee8 Linux - Newbie 3 10-02-2004 12:28 PM
CD-Rom ,filenames are not displayed correctly Darklegion Linux - General 4 08-28-2004 02:46 AM
KBear - Mandrake 10.0 - Filenames not displayed dafatdude Linux - Software 4 07-25-2004 10:42 AM
Is the pipe (|) an illegal character for unix/linux filenames? Foebane Linux - General 7 07-08-2002 12:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration