LinuxQuestions.org
Visit Jeremy's Blog.
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 05-30-2008, 08:04 PM   #1
ufmale
Member
 
Registered: Feb 2007
Posts: 385

Rep: Reputation: 30
cannot copy files with asian character file name.


I am using redhat el4 and trying to copy files named with Chinese characters. For some reason, rsync cannot copy them.

Here is what i see from the terminal.

# ls

Code:
??????????????? 1.TXT
????????????.xls
???????????????.doc


# cp -v *.doc /mnt/drive2/


Code:
`a 1.doc' -> `/mnt/drive2/a 1.doc'
`???????????????.doc' -> `/mnt/drive2/???????????????.doc'
cp: cannot create regular file `/mnt/drive2/???????????????.doc': Invalid argument

I try it on XP and it works fine, I can see read the filename.
it can also read the filename on the CentOS 5.1 machine.
 
Old 05-31-2008, 05:36 AM   #2
seraphim172
Member
 
Registered: May 2008
Posts: 101

Rep: Reputation: 15
Do you have all files installed that are necessary for displaying chinese character sets? I guess of those 3 systems only EL4 isn't equipped for chinese text.

Linux Archive

Last edited by seraphim172; 06-25-2008 at 05:48 AM.
 
Old 05-31-2008, 06:03 AM   #3
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
Aside from installing the fonts, you may want to check the mount options for the filesystem; many have an "isocharset=" option for selecting the ISO character set to use when translating from Unicode to UTF-8.
 
  


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
problem with Asian character filename in Redhat ufmale Linux - Newbie 1 01-16-2008 05:30 AM
copy many files stored in a file dominant Linux - Newbie 3 11-12-2004 05:49 AM
I have 8 character file name, no extension files being created in my dbaseIII+ folder bonzo Linux - General 2 01-22-2004 07:49 AM
copy multiple files into one file HelpPlease Programming 2 12-09-2003 03:36 PM
I need some Asian Character Font support SuseBoy Linux - General 7 10-23-2003 10:32 AM


All times are GMT -5. The time now is 06:04 AM.

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